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 |
Jump to:
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
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.