diff --git a/update/backups.sh b/update/backups.sh index 7057351..dca1089 100644 --- a/update/backups.sh +++ b/update/backups.sh @@ -19,7 +19,7 @@ cp -rf /etc/samba/smb.conf /opt/configs/conf/ cp -rf /etc/network/interfaces /opt/configs/conf/ cp -rf /root/.acme.sh/*ecc /opt/configs/acme/ cp -rf /opt/scripts/update/restore.sh /opt/apps/syncthing/data/common/F_Backup/Linux/ -cp -rf /opt/apps/syncthing/data/common/A_Program/FRP /opt/apps/frp/frpc-xtcp-visitor +cp -rf /opt/apps/syncthing/data/common/A_Program/FRP/* /opt/apps/frp/frpc-xtcp-visitor scp -r /opt/configs/certs/ arm1:/opt/ > /dev/null & scp -r /opt/configs/certs/ arm2:/opt/ > /dev/null & scp -r /opt/configs/certs/ amd:/opt/ > /dev/null & @@ -27,7 +27,7 @@ wait cd /opt && t=`date +%Y%m%dT%H%M%S` rsync --delete-after -avz --exclude=apps/localcr/B_koel/local/music 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 +# 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