[delete/modify] remove toolbox.sh; change VPS backup dir

This commit is contained in:
2023-06-22 15:41:59 +08:00
parent 41cbd36a79
commit cccf9fb6d0
2 changed files with 1 additions and 57 deletions

View File

@ -18,7 +18,7 @@ cp -rf /root/.ssh/authorized_keys /opt/configs/conf/
cp -rf /root/.acme.sh/*ecc /opt/configs/acme/
cd /opt && t=`date +%Y%m%dT%H%M%S`
rsync -av --delete apps configs logs scripts websites wd/72-Backups/CrossChain/VPS/ > /opt/logs/rsync/rsync_${t}.log
rsync -av --delete apps configs logs scripts websites wd/72-Backups/VPS/ > /opt/logs/rsync/rsync_${t}.log
cd /opt/logs/rsync/
let count=`ls | wc -l`
if [[ $count -gt 10 ]]; then