Skip to content

Commit

Permalink
Add item to make backup script executable
Browse files Browse the repository at this point in the history
  • Loading branch information
atogle committed Oct 12, 2012
1 parent 7e34fa3 commit 6535e95
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/BACKUP.md
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,12 +18,13 @@ key handy.
`dotcloud ssh shareaboutsapi.db` `dotcloud ssh shareaboutsapi.db`
3. Copy our backup script (a slight modification of the DotCloud backup script). 3. Copy our backup script (a slight modification of the DotCloud backup script).
`curl --output dotcloud_db_backup.sh https://raw.github.com/openplans/shareabouts-api/master/scripts/dotcloud_db_backup.sh` `curl --output dotcloud_db_backup.sh https://raw.github.com/openplans/shareabouts-api/master/scripts/dotcloud_db_backup.sh`
4. Run `s3cmd --configure` setup access to your S3 bucket. Enter your 4. Make your script executable `chmod +x dotcloud_db_backup.sh`
5. Run `s3cmd --configure` setup access to your S3 bucket. Enter your
`access key` and `secret key` here. The `Encryption password` and `access key` and `secret key` here. The `Encryption password` and
`Path to GPG program` are optional if you prefer. `Path to GPG program` are optional if you prefer.
5. When it asks "Test access with supplied credentials?", enter `Y` to make 6. When it asks "Test access with supplied credentials?", enter `Y` to make
sure the configuration is correct. sure the configuration is correct.
6. Test the backup! `~/dotcloud_db_backup.sh pgsql s3 shareaboutsapi_backups` 7. Test the backup! `~/dotcloud_db_backup.sh pgsql s3 shareaboutsapi_backups`
where `shareaboutsapi_backups` is your bucket name. where `shareaboutsapi_backups` is your bucket name.


Schedule Backups Schedule Backups
Expand Down

0 comments on commit 6535e95

Please sign in to comment.