diff --git a/sync_remotes b/sync_remotes index c12237f..eb3e475 100755 --- a/sync_remotes +++ b/sync_remotes @@ -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