ar_redadeg/scripts_v2/backup_geoserver.sh
2022-03-06 19:14:08 +01:00

7 lines
215 B
Bash
Executable file

#!/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/