(Grav GitSync) Automatic Commit from tanshu

This commit is contained in:
tanshu 2017-11-25 06:44:35 +00:00 committed by GitSync
parent 3cf7993353
commit 9401829a17

View File

@ -56,7 +56,8 @@ wget -o ~/bin/gdrive $URL_FOR_GDRIVE_LINUX_X64_BINARY
``` ```
Make it executable `chmod +x ~/bin/gdrive` Make it executable `chmod +x ~/bin/gdrive`
#### Configure Google Drive #### Configure Google Drive
Link your gdrive to the account by running `gdrive list` and following the instructions Link your gdrive to the account by running `gdrive list` and following the instructions.
Create a folder called `Bitwarden` and get its id by running `gdrive list`. Create a folder called `Bitwarden` and get its id by running `gdrive list`.
Upload using `gdrive upload --parent $FOLDER_ID --name production_$(date +%F-%H:%M).sqlite3 ~/webapps/warden/db/production.sqlite3` Upload using `gdrive upload --parent $FOLDER_ID --name production_$(date +%F-%H:%M).sqlite3 ~/webapps/warden/db/production.sqlite3`
#### Automate Backups #### Automate Backups