wip
Test Workflow / test (push) Failing after 11s
Test Workflow / test (pull_request) Failing after 7s

This commit is contained in:
dev
2026-05-03 13:48:06 +02:00
parent 219308f6a0
commit 3effd47453
10 changed files with 954 additions and 64 deletions
+5
View File
@@ -0,0 +1,5 @@
# Daily at 4:00 AM - sync with 3-version retention
0 4 * * * root BACKUP_DATE=$(date +\%Y-\%m-\%d) && rsync -avz -e "ssh -i /root/.ssh/id_vps -p 22" /var/lib/vz/dump/ root@159.195.46.59:/backups/homelab/$BACKUP_DATE/ >> /var/log/pve-backup-sync.log 2>&1
# Cleanup: keep last 3 versions (runs after sync)
0 5 * * * root ssh -i /root/.ssh/id_vps -p 22 root@159.195.46.59 "cd /backups/homelab && ls -td 2*/ | tail -n +4 | xargs -r rm -rf" 2>&1