Skip to content

hackerspace-ntnu/website-gdrive-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

Contributors

Languages