hackerspace-ntnu / website-gdrive-backup

Scripts for website backup to Google Drive

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Website Backup to Google Drive

  1. Retrieve OAuth Client credentials.json from Google Cloud Platform

  2. Obtain token.json with

python obtain_new_token.py
  1. Create settings.py from settings_dist.py and set BACKUP_TEAM_DRIVE_FOLDER_ID

  2. Backup file to Google Drive with

python backup_to_drive.py <filename>

About

Scripts for website backup to Google Drive


Languages

Language:Python 100.0%