Create backup_geoserver.sh
This commit is contained in:
parent
1499f86c5f
commit
653674c6df
6
scripts_v2/backup_geoserver.sh
Normal file
6
scripts_v2/backup_geoserver.sh
Normal 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/
|
Loading…
Reference in a new issue