This commit is contained in:
Alexander Neumann
2018-05-13 15:11:21 +02:00
parent 6bad560324
commit ffd7bc1021
6 changed files with 173 additions and 25 deletions
+12
View File
@@ -0,0 +1,12 @@
repo = "sftp:user@server:/srv/repo"
password = "secret"
password_file = "/root/secret.txt"
backup {
target = [
"/home/user/",
"/home/otheruser",
]
exclude = ["*.c"]
}
+15
View File
@@ -0,0 +1,15 @@
{
"Repo": "sftp:user@server:/srv/repo",
"Password": "secret",
"PasswordFile": "/root/secret.txt",
"Backends": null,
"Backup": {
"Target": [
"/home/user/",
"/home/otheruser"
],
"Excludes": [
"*.c"
]
}
}
+5 -2
View File
@@ -1,10 +1,13 @@
{
"Backends": null,
"Repo": "",
"Password": "",
"PasswordFile": "",
"Backends": null,
"Backup": {
"Target": [
"foo",
"/home/user"
]
],
"Excludes": null
}
}
+7 -2
View File
@@ -1,10 +1,15 @@
{
"Repo": "test",
"Password": "",
"PasswordFile": "",
"Backends": {
"test": {
"Backend": "local",
"Path": "/foo/bar/baz"
}
},
"Repo": "test",
"Backup": null
"Backup": {
"Target": null,
"Excludes": null
}
}