ar_redadeg/scripts_v2/backup_geoserver.sh

7 lines
215 B
Bash
Raw Normal View History

2022-01-27 21:49:41 +00:00
#!/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/