(Grav GitSync) Automatic Commit from tanshu

This commit is contained in:
tanshu 2017-11-25 06:44:48 +00:00 committed by GitSync
parent 9401829a17
commit 0dee595bc2

View File

@ -59,6 +59,7 @@ Make it executable `chmod +x ~/bin/gdrive`
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
Edit crontab using `export VISUAL=nano; crontab -e` and add the following line Edit crontab using `export VISUAL=nano; crontab -e` and add the following line