aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/backup.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/backup.sh b/bin/backup.sh
index 9f53249..5a898fb 100755
--- a/bin/backup.sh
+++ b/bin/backup.sh
@@ -50,13 +50,13 @@ backup_local() {
}
BASIC_PATHS=(~/dev/ ~/org/ ~/.mail/ ~/.bogofilter/ ~/Nextcloud/)
-backup_local Admin/sarah/borg/ingrid ssh://borgbackup@sarah/./repos/ingrid "${BASIC_PATHS[@]}"
+backup_local Admin/sarah/borg/ingrid ssh://borgbackup@nina/./repos/ingrid "${BASIC_PATHS[@]}"
DISK=/run/media/titan/ext_backup
if [ -d "$DISK" ]; then
LARGER_PATHS=("$DISK/personal/Pictures/" "$DISK/personal/Libros/" "$DISK/personal/dev/" "$DISK/Archives/")
- backup_local Admin/sarah/borg/oscar ssh://borgbackup@sarah/./repos/oscar "${LARGER_PATHS[@]}"
- if ping -c 1 -W 1 192.168.178.128 >/dev/null; then
+ backup_local Admin/sarah/borg/oscar ssh://borgbackup@nina/./repos/oscar "${LARGER_PATHS[@]}"
+ if ping -c 1 -W 1 192.168.178.40 >/dev/null; then
backup_local borgbackup ssh://backup/media/Backup/daily_backup/ "${BASIC_PATHS[@]}" "${LARGER_PATHS[@]}"
fi
fi