Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature backup #20

Merged
merged 2 commits into from May 8, 2018

Conversation

@tobyspark
Copy link
Owner

commented May 8, 2018

  • Implements a backup Django management command
    • python3.6 /vagrant/folk_rnn_webapp/folk_rnn_site/manage.py backup
  • Includes utility functions, typically for interactive use
    • cd /folk_rnn_webapp/folk_rnn_site
      python3.6
      from backup.management.commands.backup import Command
      backup = Command()
      backup.list_stored_files()
      
  • Uses a Google server-to-server service-account to store archives on Google Drive.
    • Needs folkrnn-gdrive.json credentials in /folk_rnn_webapp/folk_rnn_site
  • Schedules backup to be run daily at 5.43am.
@tobyspark tobyspark merged commit 6292164 into master May 8, 2018
@tobyspark tobyspark deleted the feature-backup branch May 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.