aboutsummaryrefslogtreecommitdiffstats
path: root/.local/bin
diff options
context:
space:
mode:
authorÓscar Nájera <hi@oscarnajera.com>2020-09-25 09:53:59 +0200
committerÓscar Nájera <hi@oscarnajera.com>2020-09-25 09:53:59 +0200
commit984bc6a1924faf81f36941d99450a0cc4af43ed0 (patch)
tree2297cc986f3c4e89b75789f91ff429d9773ee83b /.local/bin
parent6bf8644e5b33baad22ad2e893d20a394afa3c0a2 (diff)
downloaddotfiles-984bc6a1924faf81f36941d99450a0cc4af43ed0.tar.gz
dotfiles-984bc6a1924faf81f36941d99450a0cc4af43ed0.tar.bz2
dotfiles-984bc6a1924faf81f36941d99450a0cc4af43ed0.zip
extend backup
Diffstat (limited to '.local/bin')
-rwxr-xr-x.local/bin/backup.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/.local/bin/backup.sh b/.local/bin/backup.sh
index 15e1085..52ca53a 100755
--- a/.local/bin/backup.sh
+++ b/.local/bin/backup.sh
@@ -13,6 +13,7 @@ backup_local(){
--exclude '*/.mypy_cache/' \
--exclude '*/.notmuch' \
--exclude '*/node_modules' \
+ --exclude '*/js/compiled' \
--exclude '*/mpd/log' \
--exclude '*/venv/' \
--exclude '*/.tox/' \
@@ -30,5 +31,6 @@ backup_local(){
--keep-monthly 6 $REPOSITORY
}
-#backup_local borgbackup ssh://backup/media/Backup/daily_backup/ ~/dev/ ~/.mail/ ~/Nextcloud/ ~/org/ /media/backup/personal/MEGA/ /media/backup/personal/Libros/ /media/backup/personal/dev/ /media/backup/Archives/
-backup_local Admin/sarah/borg/oscar ssh://borgbackup@najera.pw/./repos/oscar ~/dev/ ~/.mail/ ~/Nextcloud/ ~/org/
+backup_local borgbackup ssh://backup/media/Backup/daily_backup/ ~/dev/ ~/.mail/ ~/Nextcloud/ ~/org/ /media/backup/personal/Pictures/ /media/backup/personal/Libros/ /media/backup/personal/dev/ /media/backup/Archives/
+backup_local Admin/sarah/borg/ingrid ssh://borgbackup@najera.pw/./repos/ingrid ~/dev/ ~/org/ ~/.mail/ ~/Nextcloud/
+backup_local Admin/sarah/borg/oscar ssh://borgbackup@najera.pw/./repos/oscar /media/backup/personal/Pictures/ /media/backup/personal/Libros/ /media/backup/personal/dev/ /media/backup/Archives/