aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2022-08-28 18:04:25 +0200
committerÓscar Nájera <hi@oscarnajera.com>2022-08-28 18:39:50 +0200
commit4dede0de7469e9458269b5efc6e341c43c989b4f (patch)
tree94b212c3249fabc6c29b7e1a7a9a51464cea2a94 /bin
parent505cbd9b9c24ec44273b140e95aca29f4a91cd3d (diff)
downloaddotfiles-4dede0de7469e9458269b5efc6e341c43c989b4f.tar.gz
dotfiles-4dede0de7469e9458269b5efc6e341c43c989b4f.tar.bz2
dotfiles-4dede0de7469e9458269b5efc6e341c43c989b4f.zip
backups
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/"