Compare commits
3 Commits
dc3e3a4d3e
...
53f082f4c1
Author | SHA1 | Date |
---|---|---|
Viv | 53f082f4c1 | |
Viv | fd6431331e | |
Viv | fcc846dc19 |
|
@ -19,6 +19,41 @@
|
|||
"name": "knucles/viv/ca",
|
||||
"paths": ["/home/vivlim/ca"],
|
||||
"hostname": "knucles"
|
||||
},
|
||||
{
|
||||
"name": "tartarus/viv/docs",
|
||||
"paths": [
|
||||
"/depths/vivlim/documents",
|
||||
"/depths/vivlim/taxes",
|
||||
"/depths/vivlim/bitlocker",
|
||||
"/depths/vivlim/no-snapshots/syncthing/iCloud Documents",
|
||||
"/depths/vivlim/no-snapshots/syncthing/Win10 Documents"
|
||||
],
|
||||
"hostname": "tartarus.vvn.space"
|
||||
},
|
||||
{
|
||||
"name": "tartarus/viv/pictures",
|
||||
"paths": [
|
||||
"/depths/vivlim/Pictures",
|
||||
"/depths/vivlim/photos",
|
||||
"/depths/vivlim/transition stuff",
|
||||
"/depths/vivlim/art",
|
||||
"/depths/vivlim/no-snapshots/syncthing/Synced Photos",
|
||||
"/depths/vivlim/no-snapshots/syncthing/Pictures",
|
||||
"/depths/vivlim/no-snapshots/syncthing/drawings"
|
||||
],
|
||||
"hostname": "tartarus.vvn.space"
|
||||
},
|
||||
{
|
||||
"name": "tartarus/viv/game-saves",
|
||||
"paths": [
|
||||
"/depths/vivlim/game saves",
|
||||
"/depths/vivlim/no-snapshots/syncthing/Retroarch Saves",
|
||||
"/depths/vivlim/no-snapshots/syncthing/game-saves",
|
||||
"/depths/vivlim/no-snapshots/syncthing/3ds files",
|
||||
"/depths/vivlim/no-snapshots/syncthing/MedianXL Saves",
|
||||
],
|
||||
"hostname": "tartarus.vvn.space"
|
||||
}
|
||||
],
|
||||
"repo_name_prefix": "b2:vivlim-restic:"
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
#!/usr/local/bin/bash
|
||||
|
||||
# simple check for zfs pool being online
|
||||
if zpool list | grep -q depths.*ONLINE
|
||||
then
|
||||
echo "zfs pool is online, continuing with backup"
|
||||
else
|
||||
echo "zfs pool is NOT online, skipping backup."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
source ~/.restic-env
|
||||
python3.6 ~/restic_many.py backup
|
Loading…
Reference in New Issue