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:
36
README.org
36
README.org
@@ -7786,20 +7786,12 @@ On compilation, this file is baked into the mpv binary, and all lines are uncomm
|
|||||||
|
|
||||||
**** Root
|
**** 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
|
#+BEGIN_SRC yaml :tangle snapborg/.config/snapborg/root_hdd_config.yaml
|
||||||
configs:
|
configs:
|
||||||
# MANDATORY: name of the snapper config
|
# MANDATORY: name of the snapper config
|
||||||
- name: root
|
- name: root
|
||||||
# MANDATORY: borg repo target, e. g. backupuser@backuphost:reponame
|
# 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
|
# if this is set to true, borg does not neccessarily fail when a backup fails
|
||||||
fault_tolerant_mode: true
|
fault_tolerant_mode: true
|
||||||
# snapborg fails when the most recent snapshot transferred successfully is
|
# snapborg fails when the most recent snapshot transferred successfully is
|
||||||
@@ -7827,19 +7819,11 @@ configs:
|
|||||||
|
|
||||||
**** Home
|
**** 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
|
#+BEGIN_SRC yaml :tangle snapborg/.config/snapborg/home_hdd_config.yaml
|
||||||
configs:
|
configs:
|
||||||
- name: home
|
- name: home
|
||||||
# MANDATORY: borg repo target, e. g. backupuser@backuphost:reponame
|
# 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
|
# if this is set to true, borg does not neccessarily fail when a backup fails
|
||||||
fault_tolerant_mode: true
|
fault_tolerant_mode: true
|
||||||
# snapborg fails when the most recent snapshot transferred successfully is
|
# snapborg fails when the most recent snapshot transferred successfully is
|
||||||
@@ -7871,14 +7855,6 @@ configs:
|
|||||||
|
|
||||||
**** Root
|
**** 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
|
#+BEGIN_SRC yaml :tangle snapborg/.config/snapborg/root_fileserver_config.yaml
|
||||||
configs:
|
configs:
|
||||||
# MANDATORY: name of the snapper config
|
# MANDATORY: name of the snapper config
|
||||||
@@ -7914,14 +7890,6 @@ configs:
|
|||||||
|
|
||||||
**** Home
|
**** 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
|
#+BEGIN_SRC yaml :tangle snapborg/.config/snapborg/home_fileserver_config.yaml
|
||||||
configs:
|
configs:
|
||||||
- name: home
|
- name: home
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
configs:
|
configs:
|
||||||
- name: home
|
- name: home
|
||||||
# MANDATORY: borg repo target, e. g. backupuser@backuphost:reponame
|
# 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
|
# if this is set to true, borg does not neccessarily fail when a backup fails
|
||||||
fault_tolerant_mode: true
|
fault_tolerant_mode: true
|
||||||
# snapborg fails when the most recent snapshot transferred successfully is
|
# snapborg fails when the most recent snapshot transferred successfully is
|
||||||
|
@@ -2,7 +2,7 @@ configs:
|
|||||||
# MANDATORY: name of the snapper config
|
# MANDATORY: name of the snapper config
|
||||||
- name: root
|
- name: root
|
||||||
# MANDATORY: borg repo target, e. g. backupuser@backuphost:reponame
|
# 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
|
# if this is set to true, borg does not neccessarily fail when a backup fails
|
||||||
fault_tolerant_mode: true
|
fault_tolerant_mode: true
|
||||||
# snapborg fails when the most recent snapshot transferred successfully is
|
# snapborg fails when the most recent snapshot transferred successfully is
|
||||||
|
@@ -1,2 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
sudo snapborg --cfg /home/sravan/.config/snapborg/home_fileserver_config.yaml --bind-mount backup
|
|
@@ -1,2 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
sudo snapborg --cfg /home/sravan/.config/snapborg/home_hdd_config.yaml --bind-mount backup
|
|
@@ -1,2 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
sudo snapborg --cfg /home/sravan/.config/snapborg/root_fileserver_config.yaml --bind-mount backup
|
|
@@ -1,2 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
sudo snapborg --cfg /home/sravan/.config/snapborg/root_hdd_config.yaml --bind-mount backup
|
|
Reference in New Issue
Block a user