Snapborg Path Updates

- Change to HDD repo path to /mnt/5TB_HDD
- Remove backup scripts since it is handled by systemd services
This commit is contained in:
Sravan Balaji 2024-06-11 18:39:06 -04:00
parent 8cac1dde83
commit 15edcc4cab
7 changed files with 4 additions and 44 deletions

View File

@ -7786,20 +7786,12 @@ On compilation, this file is baked into the mpv binary, and all lines are uncomm
**** Root
***** Script
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle snapborg/.scripts/backup_root_to_hdd.sh
sudo snapborg --cfg /home/sravan/.config/snapborg/root_hdd_config.yaml --bind-mount backup
#+END_SRC
***** Configuration
#+BEGIN_SRC yaml :tangle snapborg/.config/snapborg/root_hdd_config.yaml
configs:
# MANDATORY: name of the snapper config
- name: root
# MANDATORY: borg repo target, e. g. backupuser@backuphost:reponame
repo: /run/media/sravan/5TB_HDD/Backups/oryp7-gentoo/root
repo: /mnt/5TB_HDD/Backups/oryp7-gentoo/root
# if this is set to true, borg does not neccessarily fail when a backup fails
fault_tolerant_mode: true
# snapborg fails when the most recent snapshot transferred successfully is
@ -7827,19 +7819,11 @@ configs:
**** Home
***** Script
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle snapborg/.scripts/backup_home_to_hdd.sh
sudo snapborg --cfg /home/sravan/.config/snapborg/home_hdd_config.yaml --bind-mount backup
#+END_SRC
***** Configuration
#+BEGIN_SRC yaml :tangle snapborg/.config/snapborg/home_hdd_config.yaml
configs:
- name: home
# MANDATORY: borg repo target, e. g. backupuser@backuphost:reponame
repo: /run/media/sravan/5TB_HDD/Backups/oryp7-gentoo/home
repo: /mnt/5TB_HDD/Backups/oryp7-gentoo/home
# if this is set to true, borg does not neccessarily fail when a backup fails
fault_tolerant_mode: true
# snapborg fails when the most recent snapshot transferred successfully is
@ -7871,14 +7855,6 @@ configs:
**** Root
***** Script
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle snapborg/.scripts/backup_root_to_fileserver.sh
sudo snapborg --cfg /home/sravan/.config/snapborg/root_fileserver_config.yaml --bind-mount backup
#+END_SRC
***** Configuration
#+BEGIN_SRC yaml :tangle snapborg/.config/snapborg/root_fileserver_config.yaml
configs:
# MANDATORY: name of the snapper config
@ -7914,14 +7890,6 @@ configs:
**** Home
***** Script
#+BEGIN_SRC shell :shebang #!/usr/bin/env bash :tangle snapborg/.scripts/backup_home_to_fileserver.sh
sudo snapborg --cfg /home/sravan/.config/snapborg/home_fileserver_config.yaml --bind-mount backup
#+END_SRC
***** Configuration
#+BEGIN_SRC yaml :tangle snapborg/.config/snapborg/home_fileserver_config.yaml
configs:
- name: home

View File

@ -1,7 +1,7 @@
configs:
- name: home
# MANDATORY: borg repo target, e. g. backupuser@backuphost:reponame
repo: /run/media/sravan/5TB_HDD/Backups/oryp7-gentoo/home
repo: /mnt/5TB_HDD/Backups/oryp7-gentoo/home
# if this is set to true, borg does not neccessarily fail when a backup fails
fault_tolerant_mode: true
# snapborg fails when the most recent snapshot transferred successfully is

View File

@ -2,7 +2,7 @@ configs:
# MANDATORY: name of the snapper config
- name: root
# MANDATORY: borg repo target, e. g. backupuser@backuphost:reponame
repo: /run/media/sravan/5TB_HDD/Backups/oryp7-gentoo/root
repo: /mnt/5TB_HDD/Backups/oryp7-gentoo/root
# if this is set to true, borg does not neccessarily fail when a backup fails
fault_tolerant_mode: true
# snapborg fails when the most recent snapshot transferred successfully is

View File

@ -1,2 +0,0 @@
#!/usr/bin/env bash
sudo snapborg --cfg /home/sravan/.config/snapborg/home_fileserver_config.yaml --bind-mount backup

View File

@ -1,2 +0,0 @@
#!/usr/bin/env bash
sudo snapborg --cfg /home/sravan/.config/snapborg/home_hdd_config.yaml --bind-mount backup

View File

@ -1,2 +0,0 @@
#!/usr/bin/env bash
sudo snapborg --cfg /home/sravan/.config/snapborg/root_fileserver_config.yaml --bind-mount backup

View File

@ -1,2 +0,0 @@
#!/usr/bin/env bash
sudo snapborg --cfg /home/sravan/.config/snapborg/root_hdd_config.yaml --bind-mount backup