diff options
author | Óscar Nájera <hi@oscarnajera.com> | 2021-05-30 18:46:13 +0200 |
---|---|---|
committer | Óscar Nájera <hi@oscarnajera.com> | 2021-05-30 20:03:20 +0200 |
commit | 23aeaadab0061130e0b0f5207e62ec20cbfe9dbb (patch) | |
tree | 992585afee36d2636cb3723e846e1f6281ab80b1 /bin | |
parent | afda402f4a745f5da826737bca731a45fd09c78c (diff) | |
download | dotfiles-23aeaadab0061130e0b0f5207e62ec20cbfe9dbb.tar.gz dotfiles-23aeaadab0061130e0b0f5207e62ec20cbfe9dbb.tar.bz2 dotfiles-23aeaadab0061130e0b0f5207e62ec20cbfe9dbb.zip |
mount correctly external disk and do backup
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/backup.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/backup.sh b/bin/backup.sh index 356fa77..d70ed19 100755 --- a/bin/backup.sh +++ b/bin/backup.sh @@ -36,6 +36,7 @@ backup_local() { --keep-monthly 6 $REPOSITORY } -backup_local borgbackup ssh://backup/media/Backup/daily_backup/ ~/dev/ ~/.mail/ ~/Nextcloud/ ~/org/ ~/src_car/ /media/backup/personal/Pictures/ /media/backup/personal/Libros/ /media/backup/personal/dev/ /media/backup/Archives/ +DISK=/run/media/titan/ext_backup +backup_local borgbackup ssh://backup/media/Backup/daily_backup/ ~/dev/ ~/.mail/ ~/Nextcloud/ ~/org/ "$DISK/personal/Pictures/" "$DISK/personal/Libros/" "$DISK/personal/dev/" "$DISK/Archives/" backup_local Admin/sarah/borg/ingrid ssh://borgbackup@173.212.211.30/./repos/ingrid ~/dev/ ~/org/ ~/.mail/ ~/Nextcloud/ -backup_local Admin/sarah/borg/oscar ssh://borgbackup@173.212.211.30/./repos/oscar /media/backup/personal/Pictures/ /media/backup/personal/Libros/ /media/backup/personal/dev/ /media/backup/Archives/ +backup_local Admin/sarah/borg/oscar ssh://borgbackup@173.212.211.30/./repos/oscar "$DISK/personal/Pictures/" "$DISK/personal/Libros/" "$DISK/personal/dev/" "$DISK/Archives/" |