Skip to content

hackerspace-ntnu/website-gdrive-backup

Repository files navigation

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

Resources

Stars

Watchers

Forks

Languages