Added Diun and Wireguard
This commit is contained in:
1 parent
a4aab5dc4a
commit
9d4d80fd40
4 files changed
+62
-2
No files matched your search
@@ -67,6 +67,8 @@ sudo rsync -avR --numeric-ids palworld/{compose.yaml,.env,palworld/Pal/Saved/Sav
|
||||
homepage \
|
||||
gitea \
|
||||
postgres_backup \
|
||||
diun/compose.yaml \
|
||||
wireguard \
|
||||
"${BASE_NAME}_tmp/"
|
||||
|
||||
#backup has been created, remove the cleanup trap, restore services before uploading backup
|
||||
@@ -107,8 +109,9 @@ find . -maxdepth 1 -type f -name "full_backup_*.tar.xz.gpg" -printf '%T@ %p\n' |
|
||||
|
||||
#cleanup B2
|
||||
echo "Evaluating remote retention..."
|
||||
rclone delete "${B2_REMOTE}" --min-age 60d --rmdirs --log-file="$HOME/backup.log"
|
||||
rclone delete "${BACKUP_REMOTE}" --min-age 60d --rmdirs --log-file="$HOME/backup.log"
|
||||
|
||||
echo "Backup Complete"
|
||||
|
||||
#todo make something to test bakcups
|
||||
#todo make something to test bakcups
|
||||
#gpg --batch -d --passphrase "password_here" full_backup_2026-08-19_01-00.tar.xz.gpg | xz -d -T0 | tar xf -
|
||||
Reference in new issue
Block a user