init
This commit is contained in:
commit
b416507e4a
8 changed files with 326 additions and 0 deletions
26
config.toml
Normal file
26
config.toml
Normal 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" ]
|
Loading…
Add table
Add a link
Reference in a new issue