check borgmatic and rsnapshot configurations

This commit is contained in:
2024-11-25 14:56:53 +01:00
parent f005feb7fb
commit c11b75a046
13 changed files with 33 additions and 30 deletions

View File

@@ -3,6 +3,7 @@ location:
- /remote/server/bram
repositories:
- /repo/bram
storage:
encryption_passcommand: cat /keys/bram.key
compression: lz4

View File

@@ -104,7 +104,7 @@ storage:
# archives with a different archive name format.
archive_name_format: '{hostname}-documents-{now}'
unknown_unencrypted_repo_access_is_ok: true
unknown_unencrypted_repo_access_is_ok: true
# Retention policy for how many backups to keep in each category. See
# https://borgbackup.readthedocs.org/en/stable/usage.html#borg-prune for details.

View File

@@ -3,9 +3,11 @@ location:
- /shuttle/etc
repositories:
- /repo/etc
storage:
compression: lz4
archive_name_format: '{now:%Y-%m-%d}'
unknown_unencrypted_repo_access_is_ok: true
retention:
keep_daily: 7

View File

@@ -6,9 +6,11 @@ location:
- '- /shuttle/home/*/.cache'
repositories:
- /repo/home
storage:
compression: lz4
archive_name_format: '{now:%Y-%m-%d}'
unknown_unencrypted_repo_access_is_ok: true
retention:
keep_daily: 7

View File

@@ -9,9 +9,11 @@ location:
- '- /shuttle/opt/openvpn-server/*.log'
repositories:
- /repo/opt
storage:
compression: lz4
archive_name_format: '{now:%Y-%m-%d}'
unknown_unencrypted_repo_access_is_ok: true
retention:
keep_daily: 7

View File

@@ -5,9 +5,11 @@ location:
- '- /shuttle/root/.cache'
repositories:
- /repo/root
storage:
compression: lz4
archive_name_format: '{now:%Y-%m-%d}'
unknown_unencrypted_repo_access_is_ok: true
retention:
keep_daily: 7

View File

@@ -2,7 +2,7 @@
/usr/bin/borgmatic --stats -v 0 -c /config/root.yaml >> /log/root.log 2>&1
/usr/bin/borgmatic --stats -v 0 -c /config/opt.yaml >> /log/opt.log 2>&1
/usr/bin/borgmatic --stats -v 0 -c /config/etc.yaml >> /log/etc.log 2>&1
#/usr/bin/borgmatic --stats -v 0 -c /config/argenta.yaml >> /log/argenta.log 2>&1
export REMOTE=/remote/server/bram
mkdir -p ${REMOTE}
sshfs user@bram.veenboer.xyz:/media/helios/Bram ${REMOTE}