Login Try it Free

Backups

Alberto Jun 15, 2012 09:15AM MDT

Does pagoda offer of backup services?

Should we setup our own backups methods for mysql / writable dirs?

Up 4 Rated Down
Jed Jun 15, 2012 03:35PM MDT Pagoda Box Agent

Currently there’s not an option to set up automated backups via the admin panel, but it’s on the roadmap. So in the mean time it is strongly recommended that you set up your own backup methods.

It could be done via a cron job & environment variables with a command something like this:

mysqldump h $DB1_HOST —port $DB1_PORT $DB1_NAME -u $DB1_USER -p$DB1_PASS > writable_backup_dir/bk_`date +\%Y\%m-\%d`.sql

You’d need to create the “writable_backup_dir” for the above command to work. Here’s more info on cron jobs http://help.pagodabox.com/customer/portal/articles/333772-linux-php-cron-job.

Or you could also have your application handle it with a background worker http://help.pagodabox.com/customer/portal/articles/430779-background-workers.

Post Your Answer

Your name (required)
Your email address (required)
Answer (required)

Contact Us