mirror of
https://codeberg.org/hyperreal/admin-scripts
synced 2024-11-25 09:03:41 +01:00
Add moonshadow-borg
This commit is contained in:
parent
152bed933d
commit
7740278a51
@ -28,11 +28,11 @@ fi
|
||||
|
||||
logger -t sync_remotes "mastodata successfully synced"
|
||||
|
||||
if ! rsync -avz --delete root@desktop:/home/jas/sync-to-protondrive/ /mnt/desktop_data; then
|
||||
/home/jas/bin/resend_error.py "desktop-data"
|
||||
logger -t sync_remotes "Error during sync of desktop-data"
|
||||
if ! rsync -avz --delete root@desktop:/srv/borgbackup/moonshadow/ /mnt/borgbackup/moonshadow; then
|
||||
/home/jas/bin/resend_error.py "moonshadow-borg"
|
||||
logger -t sync_remotes "Error during sync of moonshadow-borg"
|
||||
fi
|
||||
|
||||
logger -t sync_remotes "desktop-data successfully synced"
|
||||
logger -t sync_remotes "moonshadow-borg successfully synced"
|
||||
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user