restic-nats-server/conf/rns.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"
}
}