This commit is contained in:
okx-code
2025-10-02 04:16:30 +01:00
parent 3f820b812b
commit 009d17e7c5

View File

@@ -24,6 +24,6 @@ docker service scale minecraft_waterfall=1
echo "$(date) Creating achive..."
tar -c --exclude orebfuscator_cache --exclude civmodcore_cache --exclude postgresdata /opt/backups/sync | zstd -T0 -8 -o $backupname
echo "$(date) Copying backup to longterm..."
sshpass -p "{{secret.backup.archive_password}}" rsync -a $backup {{secret.backup.archive_name}}
sshpass -p "{{secret.backup.archive_password}}" rsync -a $backupname {{secret.backup.archive_name}}
echo "$(date) Backup finished!"