aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/backup.sh5
-rw-r--r--config/awesome/rc.lua2
-rw-r--r--config/doom/config.org2
3 files changed, 5 insertions, 4 deletions
diff --git a/bin/backup.sh b/bin/backup.sh
index 356fa77..d70ed19 100755
--- a/bin/backup.sh
+++ b/bin/backup.sh
@@ -36,6 +36,7 @@ backup_local() {
--keep-monthly 6 $REPOSITORY
}
-backup_local borgbackup ssh://backup/media/Backup/daily_backup/ ~/dev/ ~/.mail/ ~/Nextcloud/ ~/org/ ~/src_car/ /media/backup/personal/Pictures/ /media/backup/personal/Libros/ /media/backup/personal/dev/ /media/backup/Archives/
+DISK=/run/media/titan/ext_backup
+backup_local borgbackup ssh://backup/media/Backup/daily_backup/ ~/dev/ ~/.mail/ ~/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/ ~/Nextcloud/
-backup_local Admin/sarah/borg/oscar ssh://borgbackup@173.212.211.30/./repos/oscar /media/backup/personal/Pictures/ /media/backup/personal/Libros/ /media/backup/personal/dev/ /media/backup/Archives/
+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/"
diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua
index bd4130b..c53e3aa 100644
--- a/config/awesome/rc.lua
+++ b/config/awesome/rc.lua
@@ -630,7 +630,7 @@ end
run_once("nextcloud")
run_once("light-locker")
run_once("redshift-gtk")
-run_once("mount /media/backup")
+run_once("udisksctl mount -b /dev/disk/by-label/ext_backup")
run_once("nm-applet")
run_once("aw-qt")
diff --git a/config/doom/config.org b/config/doom/config.org
index 4d1d156..ed1e22a 100644
--- a/config/doom/config.org
+++ b/config/doom/config.org
@@ -293,7 +293,7 @@ Emacs mode for managing ledger text files
:commands calibredb
:config
(set-evil-initial-state! 'calibredb-search-mode 'emacs)
- (setq calibredb-root-dir "/media/backup/personal/Libros/CalibreManaged")
+ (setq calibredb-root-dir "/run/media/titan/ext_backup/personal/Libros/CalibreManaged")
(setq calibredb-db-dir (expand-file-name "metadata.db" calibredb-root-dir)))
#+end_src
* Programming languages