Sicherung der Volumes implementiert.

This commit is contained in:
2018-12-09 16:24:20 +01:00
parent f2b4b2ad7b
commit 117af2e508
3 changed files with 68 additions and 28 deletions
+4 -2
View File
@@ -7,6 +7,9 @@ REMOTE_USER='root'
# Wechle Ordner sollen gesichert werden als BASH-Array z.B. ("/home" "/var/www")
FOLDERS=()
# Wechle Docker volumes sollen gesichert werden als BASH-Array z.B. ("vol-1" "redis-vol-1")
DOCKER_VOLUME=()
# Wie lange sollen Backups gesichert bleiben z.B. 8W
# ==================================================
# Remove the incremental backup information in the destination
@@ -39,6 +42,5 @@ MYSQL_PASS='secret'
# Dieser Ordner wird zusammen mit $FOLDERS gesichert
MYSQL_DUMP_DIR='/var/backups/sqldump'
# Die Optionen die beim Backup eingesetzt werden
RDIFF_BACKUP_OPTS="--exclude-sockets --exclude-device-files --exclude-fifos --exclude-other-filesystems"
RDIFF_BACKUP_OPTS="--exclude-sockets --exclude-device-files --exclude-fifos --exclude-other-filesystems"