How should I responsibly backup my heroku / s3 / github based applications?

I have a rails application that runs on Heroku using a standard postgres database with images hosted on s3.

How am I responsible for backing up?

While I download the application code, s3 files and a database snapshot monthly and save it to an external drive. Downloading my files from s3 is very slow, and I expect it to be much worse over time.

+5
source share
2 answers

I used PG Backup Heroku backup:

https://devcenter.heroku.com/articles/pgbackups

postgres ( , ). .

, github ( - git). , - .

S3 . :

Amazon S3 , . Amazon S3. , Amazon S3 PUT COPY SUCCESS.

, S3, , , - , , . S3 Tools :

http://s3tools.org/s3cmd

+2

, git, , . heruku cli.

  • heroku git: clone -a your-app-name
  • heroku pg: backups: capture -a your-app-name
  • heroku pg: backups: -a your-app-name

, "last.dump", , .

script.

0

All Articles