23 lines
511 B
Bash
Executable File
23 lines
511 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SRC=/volumes
|
|
DST=/media/passport4/docker_volume_backup/
|
|
|
|
echo "Owncloud Backup"
|
|
rsync -azW --delete $SRC/owncloud $DST
|
|
|
|
echo "Squeezebox Music Backup"
|
|
rsync -azW --delete $SRC/squeezeserver $DST
|
|
|
|
echo "MongoDB Homeautomation Backup"
|
|
rsync -azW --delete $SRC/mongo $DST
|
|
|
|
echo "InfluxDB Homeautomation Backup"
|
|
rsync -azW --delete $SRC/influxdb_data $DST
|
|
|
|
echo "WWW"
|
|
rsync -azW --delete $SRC/www $DST
|
|
|
|
echo "Other files"
|
|
rsync -arW --delete --files-from=/root/scripts/files_to_backup.txt / $DST/other
|