3 ms·
Ask HN: How do you backup your DB?
Feel free to include where your db is stored (bare metal, cloud, managed), how often, how you do it and a short story about recovering your db.
- kull 10y agoHosting on digital ocean, backup on S3 Amazon, hourly database backup.
- element121 10y agoRackspace cloud, backed up via CodeGuard to Amazon S3 daily.
- codegeek 10y ago1. mysqldump.... > $curr_date/backup.sql 2. aws s3 sync $curr_date s3://mybucket The 2 steps above go into a crontab.