ar_redadeg/scripts_v2/backup_geoserver.sh
2022-01-27 22:49:41 +01:00

7 lines
215 B
Bash

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