update backup

This commit is contained in:
2025-05-04 15:22:51 +02:00
parent 60bdc34ae4
commit 21f17ba6f4

View File

@@ -13,5 +13,5 @@ tar -cf "$LOCAL_BACKUP/$TAR_NAME" -C "$SOURCE" .
ls -1t "$LOCAL_BACKUP"/backup_*.tar | tail -n +6 | xargs -r rm --
systemctl --user stop ===container-service===
/usr/bin/rclone sync $SOURCE $REMOTE > /dev/null
/usr/bin/rclone sync $LOCAL_BACKUP $REMOTE > /dev/null
systemctl --user start ===container-service===