update
Some checks failed
ci/woodpecker/push/build Pipeline failed

This commit is contained in:
JMARyA 2025-01-11 16:55:31 +01:00
parent 2e7d4aa52b
commit b40a1f4fee
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
6 changed files with 185 additions and 37 deletions

View file

@ -1,91 +1,91 @@
# Run a script before backup
start_script = "before.sh"
# start_script = "before.sh"
# Run a script after backup
end_script = "after.sh"
# end_script = "after.sh"
# Rsync Operation
[[rsync]]
# [[rsync]]
# Directories SHOULD have trailing `/`
src = "/home/me/"
dest = "/backup/home/me/"
# src = "/home/me/"
# dest = "/backup/home/me/"
# Excludes
exclude = [".cache", ".local"]
# exclude = [".cache", ".local"]
# Delete entries not present in `src` from `destination`
delete = true
# delete = true
# Ensure this directory exists and it not empty before running rsync
ensure_exists = "/home"
# ensure_exists = "/home"
# Make a CephFS snapshot before rsync
cephfs_snap = true
# cephfs_snap = true
# Borg Operation
[[borg]]
# [[borg]]
# Repo to backup to
repo = "/backup/repo.borg"
# repo = "/backup/repo.borg"
# Passphrase
passphrase = "pass"
# passphrase = "pass"
# Source Directories
src = [ "/home/me/.config" ]
# src = [ "/home/me/.config" ]
# Excludes
exclude = [
"some/dir"
]
# exclude = [
# "some/dir"
# ]
# Exclude if present (example: Do not backup directories with `.nobackup`)
exclude_if_present = [".nobackup"]
# exclude_if_present = [".nobackup"]
# Stay in one filesystem
one_file_system = true
# one_file_system = true
# Backup change time
ctime = false
# ctime = false
# Do not backup ACLs
no_acls = true
# no_acls = true
# Do not backup extended attributes
no_xattrs = true
# no_xattrs = true
# Comment to add to the backup
comment = "Backup of /home/me/"
# comment = "Backup of /home/me/"
# Compression
compression = "zstd,10"
# compression = "zstd,10"
# Ensure directory exists before backup
ensure_exists = "/home/me"
# ensure_exists = "/home/me"
# Make a CephFS snapshot before backup
cephfs_snap = true
# cephfs_snap = true
# Borg Check Operation
[[borg_check]]
# [[borg_check]]
# Repository to check
repo = "/backup/repo.borg"
# repo = "/backup/repo.borg"
# Full Data Verify
verify_data = true
# verify_data = true
# Repair Attempt
repair = false
# repair = false
# Borg Prune Operation
[[borg_prune]]
# [[borg_prune]]
# Repository to prune
repo = "/backup/repo.borg"
# repo = "/backup/repo.borg"
# Passphrase
passphrase = "pass"
# passphrase = "pass"
keep_within = "30d"
keep_last = 20
# keep_within = "30d"
# keep_last = 20
# keep_secondly = 3
# keep_minutely = 3
# keep_hourly = 10