Create "paranoia" dump before restore

ceardach - March 12, 2009 - 16:19
Project:Database Scripts
Version:6.x-2.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:ceardach
Status:active
Description

To reduce the chance of losing valuable data during a restore, make a configurable option to dump the current state of the database before restoring.

#1

andreiashu - June 18, 2009 - 10:54

Maybe rely on backup_migrate for this one ? If this module is going to go into drush eventually you can hook into the {system} table and if backup_migrate is available just use its config (path, archive or not, etc) options to do a manual backup.

 
 

Drupal is a registered trademark of Dries Buytaert.