add more paths and rename some scripts

This commit is contained in:
Viv 2019-11-29 18:27:41 -08:00
parent 1186eac9db
commit dc3e3a4d3e
3 changed files with 15 additions and 0 deletions

View File

@ -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:"

4
do_backup.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/bash
source ~/.restic-env
~/restic_many.py backup

View File

@ -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)