Create backup_geoserver.sh

This commit is contained in:
MaelREBOUX 2022-01-27 22:49:41 +01:00
parent 1499f86c5f
commit 653674c6df

View file

@ -0,0 +1,6 @@
#!/bin/bash
# argument 1 passé au script = millesime redadeg
millesime=$1
zip -qr /data/projets/ar_redadeg/data/$millesime/backup/geoserver_datadir_`date +"%Y.%m.%d"`.zip /var/lib/tomcat9/webapps/geoserver/data/