From 4dede0de7469e9458269b5efc6e341c43c989b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=93scar=20N=C3=A1jera?= Date: Sun, 28 Aug 2022 18:04:25 +0200 Subject: backups --- bin/backup.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') 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/" -- cgit v1.2.3