Ask HN: How do you backup your DB? 5 points by wasd 10y ago ↗ HN 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.
[–] codegeek 10y ago ↗ 1. mysqldump.... > $curr_date/backup.sql2. aws s3 sync $curr_date s3://mybucketThe 2 steps above go into a crontab.
3 comments
[ 2.7 ms ] story [ 18.0 ms ] thread2. aws s3 sync $curr_date s3://mybucket
The 2 steps above go into a crontab.