diff options
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 |
commit | 4dede0de7469e9458269b5efc6e341c43c989b4f (patch) | |
tree | 94b212c3249fabc6c29b7e1a7a9a51464cea2a94 | |
parent | 505cbd9b9c24ec44273b140e95aca29f4a91cd3d (diff) | |
download | dotfiles-4dede0de7469e9458269b5efc6e341c43c989b4f.tar.gz dotfiles-4dede0de7469e9458269b5efc6e341c43c989b4f.tar.bz2 dotfiles-4dede0de7469e9458269b5efc6e341c43c989b4f.zip |
backups
-rwxr-xr-x | bin/backup.sh | 4 |
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/" |