Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Backup script for OpenBazaar server
# backup of Open Bazaar '.' directory
set -u
set -e
TIME=`date +%b-%d-%y`
SRCDIR={{ openbazaar_user_home_directory }}
DESDIR={{ openbazaar_user_home_directory }}
tar -zcf $DESDIR/$FILENAME $SRCDIR/.openbazaar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment