aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/backup.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/backup.sh b/bin/backup.sh
index e3ebd2c..7cf5c87 100755
--- a/bin/backup.sh
+++ b/bin/backup.sh
@@ -15,6 +15,8 @@ backup_local() {
--exclude '*/venv/' \
--exclude '*/.tox/' \
--exclude '*/node_modules' \
+ --exclude '*/dist' \
+ --exclude '*/.cache' \
--exclude '*/.shadow-cljs' \
--exclude '*/js/compiled' \
--exclude '*/build' \
@@ -40,6 +42,6 @@ backup_local() {
}
DISK=/run/media/titan/ext_backup
-backup_local borgbackup ssh://backup/media/Backup/daily_backup/ ~/dev/ ~/.mail/ ~/.bogofilter/ ~/Nextcloud/ ~/org/ "$DISK/personal/Pictures/" "$DISK/personal/Libros/" "$DISK/personal/dev/" "$DISK/Archives/"
+# backup_local borgbackup ssh://backup/media/Backup/daily_backup/ ~/dev/ ~/.mail/ ~/.bogofilter/ ~/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/ ~/.bogofilter/ ~/Nextcloud/
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/"