Skip to content

A Django app that backs up the database into an AWS S3 bucket

License

Notifications You must be signed in to change notification settings

andr0s/s3_backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

s3_backup

A Django app that backs up the database into an AWS S3 bucket.

MIT license.

Set the following settings in your setttings.py:

S3_BACKUP_BUCKET_NAME - the name of the S3 bucket to back up to
S3_BACKUP_ACCESS_KEY_ID - your S3 access key
S3_BACKUP_SECRET_KEY - your S3 secret key

Add s3_backup to your INSTALLED_APPS.

Run manage.py migrate (or manage.py migrate s3_backup) to create models in the DB.

Update your cron file and add something like:

1  */11  *  *  *  cd /home/your_project_dir; /path/to/your/python manage.py do_s3_backup

Done.

About

A Django app that backs up the database into an AWS S3 bucket

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages