add more paths and rename some scripts
This commit is contained in:
parent
1186eac9db
commit
dc3e3a4d3e
|
@ -9,6 +9,16 @@
|
|||
"name": "knucles/services/synapse",
|
||||
"paths": ["/home/docker/containers/synapse"],
|
||||
"hostname": "knucles"
|
||||
},
|
||||
{
|
||||
"name": "knucles/viv/www",
|
||||
"paths": ["/home/vivlim/www"],
|
||||
"hostname": "knucles"
|
||||
},
|
||||
{
|
||||
"name": "knucles/viv/ca",
|
||||
"paths": ["/home/vivlim/ca"],
|
||||
"hostname": "knucles"
|
||||
}
|
||||
],
|
||||
"repo_name_prefix": "b2:vivlim-restic:"
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/bash
|
||||
|
||||
source ~/.restic-env
|
||||
~/restic_many.py backup
|
|
@ -41,6 +41,7 @@ def init_repo(repo_name):
|
|||
return True
|
||||
|
||||
def cmd_backup():
|
||||
result_info = []
|
||||
with open('backup-config.json') as json_file:
|
||||
data = json.load(json_file)
|
||||
|
Loading…
Reference in New Issue