Update snapborg backup paths and retention policy

This commit is contained in:
Sravan Balaji 2024-06-04 16:50:50 -04:00
parent 1ea31d29ab
commit 89c3e20e8c
5 changed files with 44 additions and 44 deletions

View File

@ -7799,7 +7799,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/root repo: /run/media/sravan/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
@ -7815,10 +7815,10 @@ configs:
# compression configuration, see borg manual # compression configuration, see borg manual
compression: auto,zstd,4 compression: auto,zstd,4
retention: retention:
keep_last: 1 keep_last: 15
keep_hourly: 1 keep_hourly: 0
keep_daily: 1 keep_daily: 7
keep_weekly: 1 keep_weekly: 4
keep_monthly: 1 keep_monthly: 1
keep_yearly: 1 keep_yearly: 1
# exclude patterns (see borg help patterns) # exclude patterns (see borg help patterns)
@ -7839,7 +7839,7 @@ sudo snapborg --cfg /home/sravan/.config/snapborg/home_hdd_config.yaml backup
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/home repo: /run/media/sravan/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
@ -7857,12 +7857,12 @@ configs:
# define retention settings for borg independently from snapper # define retention settings for borg independently from snapper
retention: retention:
keep_last: 1 keep_last: 15
keep_hourly: 0 keep_hourly: 0
keep_daily: 0 keep_daily: 7
keep_weekly: 0 keep_weekly: 4
keep_monthly: 0 keep_monthly: 1
keep_yearly: 0 keep_yearly: 1
# exclude patterns (see borg help patterns) # exclude patterns (see borg help patterns)
exclude_patterns: [] exclude_patterns: []
#+END_SRC #+END_SRC
@ -7884,7 +7884,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: /mnt/fileserver/Backups/oryp7/root repo: /mnt/fileserver/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
@ -7902,10 +7902,10 @@ configs:
# define retention settings for borg independently from snapper # define retention settings for borg independently from snapper
retention: retention:
keep_last: 1 keep_last: 15
keep_hourly: 1 keep_hourly: 0
keep_daily: 1 keep_daily: 7
keep_weekly: 1 keep_weekly: 4
keep_monthly: 1 keep_monthly: 1
keep_yearly: 1 keep_yearly: 1
# exclude patterns (see borg help patterns) # exclude patterns (see borg help patterns)
@ -7926,7 +7926,7 @@ sudo snapborg --cfg /home/sravan/.config/snapborg/home_fileserver_config.yaml ba
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: /mnt/fileserver/Backups/oryp7/home repo: /mnt/fileserver/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
@ -7944,12 +7944,12 @@ configs:
# define retention settings for borg independently from snapper # define retention settings for borg independently from snapper
retention: retention:
keep_last: 1 keep_last: 15
keep_hourly: 0 keep_hourly: 0
keep_daily: 0 keep_daily: 7
keep_weekly: 0 keep_weekly: 4
keep_monthly: 0 keep_monthly: 1
keep_yearly: 0 keep_yearly: 1
# exclude patterns (see borg help patterns) # exclude patterns (see borg help patterns)
exclude_patterns: [] exclude_patterns: []
#+END_SRC #+END_SRC

View File

@ -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: /mnt/fileserver/Backups/oryp7/home repo: /mnt/fileserver/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
@ -19,11 +19,11 @@ configs:
# define retention settings for borg independently from snapper # define retention settings for borg independently from snapper
retention: retention:
keep_last: 1 keep_last: 15
keep_hourly: 0 keep_hourly: 0
keep_daily: 0 keep_daily: 7
keep_weekly: 0 keep_weekly: 4
keep_monthly: 0 keep_monthly: 1
keep_yearly: 0 keep_yearly: 1
# exclude patterns (see borg help patterns) # exclude patterns (see borg help patterns)
exclude_patterns: [] exclude_patterns: []

View File

@ -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/home repo: /run/media/sravan/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
@ -19,11 +19,11 @@ configs:
# define retention settings for borg independently from snapper # define retention settings for borg independently from snapper
retention: retention:
keep_last: 1 keep_last: 15
keep_hourly: 0 keep_hourly: 0
keep_daily: 0 keep_daily: 7
keep_weekly: 0 keep_weekly: 4
keep_monthly: 0 keep_monthly: 1
keep_yearly: 0 keep_yearly: 1
# exclude patterns (see borg help patterns) # exclude patterns (see borg help patterns)
exclude_patterns: [] exclude_patterns: []

View File

@ -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: /mnt/fileserver/Backups/oryp7/root repo: /mnt/fileserver/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
@ -20,10 +20,10 @@ configs:
# define retention settings for borg independently from snapper # define retention settings for borg independently from snapper
retention: retention:
keep_last: 1 keep_last: 15
keep_hourly: 1 keep_hourly: 0
keep_daily: 1 keep_daily: 7
keep_weekly: 1 keep_weekly: 4
keep_monthly: 1 keep_monthly: 1
keep_yearly: 1 keep_yearly: 1
# exclude patterns (see borg help patterns) # exclude patterns (see borg help patterns)

View File

@ -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/root repo: /run/media/sravan/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
@ -18,10 +18,10 @@ configs:
# compression configuration, see borg manual # compression configuration, see borg manual
compression: auto,zstd,4 compression: auto,zstd,4
retention: retention:
keep_last: 1 keep_last: 15
keep_hourly: 1 keep_hourly: 0
keep_daily: 1 keep_daily: 7
keep_weekly: 1 keep_weekly: 4
keep_monthly: 1 keep_monthly: 1
keep_yearly: 1 keep_yearly: 1
# exclude patterns (see borg help patterns) # exclude patterns (see borg help patterns)