mirror of
https://github.com/octoleo/restic.git
synced 2024-06-02 09:00:50 +00:00
29 lines
397 B
Plaintext
29 lines
397 B
Plaintext
repo = "sftp:user@server:/srv/repo"
|
|
password = "secret"
|
|
password_file = "/root/secret.txt"
|
|
|
|
backup {
|
|
target = [
|
|
"/home/user/",
|
|
"/home/otheruser",
|
|
]
|
|
|
|
exclude = ["*.c"]
|
|
}
|
|
|
|
backend "local" {
|
|
type = "local"
|
|
path = "/foo/bar"
|
|
}
|
|
|
|
backend "local2" {
|
|
path = "/foo/bar"
|
|
}
|
|
|
|
backend "sftp" {
|
|
type = "sftp"
|
|
user = "foo"
|
|
host = "bar"
|
|
path = "/foo/bar"
|
|
}
|