diff --git a/update/backups.sh b/update/backups.sh index 934f361..8a5f814 100644 --- a/update/backups.sh +++ b/update/backups.sh @@ -21,6 +21,7 @@ cp -rf /opt/scripts/update/restore.sh /opt/apps/syncthing/data/common/F-Backup/L cd /opt && t=`date +%Y%m%dT%H%M%S` rsync --delete-after -avz apps configs logs scripts websites wd/72-Backups/VPS/ > /opt/logs/rsync/rsync_${t}.log +rsync --delete-after -avz /opt/apps/syncthing/data/* wd/72-Backups/Syncthing/ > /opt/logs/rsync/rsync_${t}.log cd /opt/logs/rsync/ let count=`ls | wc -l` if [[ $count -gt 10 ]]; then