diff --git a/borg/backup.sh b/borg/backup.sh index 6d7d6cc..b669302 100755 --- a/borg/backup.sh +++ b/borg/backup.sh @@ -65,13 +65,15 @@ then cd "/run/media/$USER/$DISK/photos" git annex sync # set +e - git annex mirror --from=origin +# git annex mirror --from=origin + git annex get # set -e git annex sync echo "backing up Audio archive..." cd "/run/media/$USER/$DISK/audio" git annex sync - git annex mirror --from=origin +### git annex mirror --from=origin + git annex get git annex sync cd / udisksctl unmount -b "/dev/disk/by-label/$DISK"