This commit is contained in:
JMARyA 2025-01-05 00:37:20 +01:00
commit b416507e4a
Signed by: jmarya
GPG key ID: 901B2ADDF27C2263
8 changed files with 326 additions and 0 deletions

26
config.toml Normal file
View file

@ -0,0 +1,26 @@
# Run a script before backup
start_script = "before.sh"
# Run a script after backup
end_script = "after.sh"
# Rsync Operation
[[rsync]]
# Directories SHOULD have trailing `/`
src = "/home/me/"
dest = "/backup/home/me/"
# Excludes
exclude = [".cache", ".local"]
# Delete entries not present in `src` from `destination`
delete = true
# Ensure this directory exists and it not empty before running rsync
ensure_exists = "/home"
# Borg Operation
[[borg]]
repo = "/backup/repo.borg"
passphrase = "pass"
src = [ "/home/me/.config" ]