borg
This commit is contained in:
parent
69d9cd1963
commit
8d0c0a5426
5 changed files with 302 additions and 15 deletions
63
config.toml
63
config.toml
|
@ -24,6 +24,69 @@ cephfs_snap = true
|
|||
|
||||
# Borg Operation
|
||||
[[borg]]
|
||||
# Repo to backup to
|
||||
repo = "/backup/repo.borg"
|
||||
|
||||
# Passphrase
|
||||
passphrase = "pass"
|
||||
|
||||
# Source Directories
|
||||
src = [ "/home/me/.config" ]
|
||||
|
||||
# Excludes
|
||||
exclude = [
|
||||
"some/dir"
|
||||
]
|
||||
|
||||
# Exclude if present (example: Do not backup directories with `.nobackup`)
|
||||
exclude_if_present = [".nobackup"]
|
||||
|
||||
# Stay in one filesystem
|
||||
one_file_system = true
|
||||
|
||||
# Backup access time
|
||||
atime = false
|
||||
|
||||
# Backup change time
|
||||
ctime = false
|
||||
|
||||
# Do not backup ACLs
|
||||
no_acls = true
|
||||
|
||||
# Do not backup extended attributes
|
||||
no_xattrs = true
|
||||
|
||||
# Comment to add to the backup
|
||||
comment = "Backup of /home/me/"
|
||||
|
||||
# Compression
|
||||
compression = "zstd,10"
|
||||
|
||||
# Borg Check Operation
|
||||
[[borg_check]]
|
||||
# Repository to check
|
||||
repo = "/backup/repo.borg"
|
||||
|
||||
# Full Data Verify
|
||||
verify_data = true
|
||||
|
||||
# Repair Attempt
|
||||
repair = false
|
||||
|
||||
# Borg Prune Operation
|
||||
[[borg_prune]]
|
||||
# Repository to prune
|
||||
repo = "/backup/repo.borg"
|
||||
|
||||
# Passphrase
|
||||
passphrase = "pass"
|
||||
|
||||
keep_within = "30d"
|
||||
keep_last = 20
|
||||
# keep_secondly = 3
|
||||
# keep_minutely = 3
|
||||
# keep_hourly = 10
|
||||
# keep_daily = 7
|
||||
# keep_weekly = 4
|
||||
# keep_monthly = 6
|
||||
# keep_yearly = 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue