Difference between revisions of "Backup database"

From HiveTool
Jump to: navigation, search
(Created page with "==Drupal security updates== drush (https://github.com/drush-ops/drush). Requires shell access. This tool will make security updates trivial. This tool will also save you ton...")
(No difference)

Revision as of 15:42, 6 January 2014

Drupal security updates

drush (https://github.com/drush-ops/drush). Requires shell access. This tool will make security updates trivial. This tool will also save you tons of time. For example, a db backup is as easy as this: drush sql-dump —result-file=../today.sql

Backups

Start with simple backup included in the hosting package. Keep an off-site backup since often the hosting backup services backup onto the same machine your hosting/db is on. Amazon S3, or even glacier, do cost, but are cheap and dependable. A cron job can rsync weekly to amazon or to our own server.

  1. get backups setup using the existing hosting platform. We should also document how long and how often they do backups.
  2. Then let’s setup syncs from these backup locations to the media server when it’s available.