mirror of
https://github.com/Fishwaldo/restic-nats-server.git
synced 2025-03-15 19:41:35 +00:00
47 lines
855 B
JSON
47 lines
855 B
JSON
{
|
|
"loglevel": 0,
|
|
"authtype": "username",
|
|
"nats": {
|
|
"workers": [
|
|
{
|
|
"username": "workerid",
|
|
"password": "workerid"
|
|
}
|
|
],
|
|
"hosts": [
|
|
{
|
|
"username": "host1",
|
|
"password": "password",
|
|
"allowedrepo": [
|
|
"backup",
|
|
"test"
|
|
]
|
|
},
|
|
{
|
|
"username": "host1",
|
|
"password": "password",
|
|
"allowedrepo": [
|
|
"backup",
|
|
"test"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"worker": {
|
|
"number": 5,
|
|
"connecturl": "nats://localhost:4222/",
|
|
"nkey": "asdfasdf",
|
|
"credfile": "/home/fish/.nkeys/creds/Operator/Backup/restic.creds",
|
|
"handles": [
|
|
"backup",
|
|
"test"
|
|
]
|
|
},
|
|
"fsrepo": {
|
|
"name": "backup",
|
|
"directory": "/tmp"
|
|
},
|
|
"memrepo": {
|
|
"name": "test"
|
|
}
|
|
}
|