Compare commits

...

3 Commits

Author SHA1 Message Date
Viv 53f082f4c1 Add some paths for tartarus 2019-11-29 18:53:25 -08:00
Viv fd6431331e split to separate launch scripts for different machines 2019-11-29 18:33:40 -08:00
Viv fcc846dc19 refer to python3.6 specifically 2019-11-29 18:29:23 -08:00
3 changed files with 48 additions and 0 deletions

View File

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

13
do_backup_tartarus.sh Normal file
View File

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