Skip to content

Using @simonw 's backup_to_s3.py and python-boto to configure and cronify backups to S3

License

Notifications You must be signed in to change notification settings

jpstacey/Configured-S3-backups

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Configured S3 backups
---------------------

This uses the backup_to_s3.py script by @simonw to help configure your 
local backups, so that they can be run by e.g. cron. Thanks to @simonw, 
the backup script is now included with this repository (see the credits 
below for more details.)


= Setup =

1. Install the python-boto libraries on your machine.

2. Check out this repository anywhere on your filesystem.

3. Copy example_conf/INIT.conf in ~/.backup_to_s3/INIT.conf and edit the
public and private access keys.

4. Then copy example_conf/site.conf to any number of configuration 
files in ~/.backup_to_s3 e.g. ~/.backup_to_s3/mywebsite.conf .


= Execution =

You can perform a dry run (no upload to S3) by running:

 * ./backup.py mywebsite
 * ./backup.py ALL [searches for all .conf files and tries them all]

If you're happy with the results, run:

 * ./backup.py mywebsite go
 * ./backup.py ALL go

to actually commit the backup(s) to S3.


= Credits =

Original backup_to_s3.py at http://simonwillison.net/2008/Sep/21/backup/

About

Using @simonw 's backup_to_s3.py and python-boto to configure and cronify backups to S3

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages