diff --git a/backup.sh b/backup.sh index cfc0188..9c05593 100755 --- a/backup.sh +++ b/backup.sh @@ -2,6 +2,29 @@ BAKRNG_ROOT=`cat rootzfs.txt` +## Data Format + +### user.txt +# + +### hosts.txt +# +# +# ... + +### rootzfs.txt +# + +### datasets.txt +# +# / +# / +# +# / +# +# ... + + if [ ! -f user.txt ]; then echo "No user specified."; exit 2; fi if [ ! -f hosts.txt ]; then echo "No hosts specified."; exit 2; fi if [ ! -f rootzfs.txt ]; then echo "No rootzfs specified."; exit 2; fi