Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Release notes
This release has a wealth of new of bug fixes, along with some new features. The most notable change is a dramatic reduction in memory requirements during backups, down from possibly multiple gigabytes to ~100mb.
As always, a huge thank you to all contributors, and especially to couturier who has been doing an amazing job on supporting folks on the issue queue.
Important notes
- It was reported that this version can be slower than past releases for exporting backups. This is because of the memory usage optimization, which can cause the backup to take longer. It is worth reviewing the "known issues" section of the README.txt file for some suggestions, in particular increasing the
backup_migrate_data_rows_per_query
option from its default of 1,000 to 5,000, 10,000 or even 50,000 can help, but be careful to avoid hitting the PHP memory limit or timing out. - The module now requires PHP 5.4. This was an intentional decision. While the module does not currently take advantage of this, future releases may require newer improvements in the language. Given that PHP 5.4 is over six years old and support ended in 2015, it's time for sites to update.
Contributors (43)
RickJ, DamienMcKenna, freelylw, gisle, sano, couturier, dman, modulist, webservant316, axel.rutz, EmanueleQuinto, jacob.embree, Pere Orga, frenkx, catch, dasha_v, ron_s, coredumperror, blake.thompson, John Bickar, Manthan.addweb, echoz, snehal.addweb, bfodeke, jigish.addweb, devad, Kris77, pietrocap, John Cook, danharper, salmino, pbuyle, Ives, Calystod, gturnbull, Alex Bukach, Eli.Stone, joelpittet, mwnciau, laryn, baronmunchowsen, KimNyholm, fastturtle
Full changelog
Issues: 39 issues resolved.
Changes since v7.x-3.5:
Bug
- #2735337 by RickJ: Settings objects only offer Revert, not Delete.
- #3018853 by RickJ: Temporary files not deleted.
- #3017042 by DamienMcKenna, freelylw, gisle: Settings form field dependency broken.
- #3016282 by DamienMcKenna: "Cannot add field backup_migrate_profiles.machine_name: field already exists" error.
- #3016278 by DamienMcKenna: Some debug messages aren't hidden behind backup_migrate_verbose.
- #2338841 by catch, dasha_v, DamienMcKenna: Incorrect translated string + menu_rebuild() performance issue.
- #2943719 by DamienMcKenna: Reduce memory usage during MySQL database generation.
- #2747197 by RickJ: Network errors writing to Nodesquirrel handled badly.
- #2415421 by ron_s, coredumperror, blake.thompson, John Bickar: Backup and Migrate module and private file system.
- #3013355 by jacob.embree: Syntax error in backup_migrate.js.
- #3004759 by Manthan.addweb, echoz: Notice: Undefined index: exclude_filepaths... visiting Advanced Backup tab
- #2831470 by snehal.addweb, bfodeke, jigish.addweb: Delete query in hook_uninstall() can potentially remove unintended variables.
- #2829492 by axel.rutz, RickJ, DamienMcKenna, devad, Kris77, pietrocap, couturier: Big file backup breaks with "MySQL server has gone away".
- #2996191 by mwnciau, DamienMcKenna: Special characters in database password causes PHP notifications.
- #2917959 by DamienMcKenna: Updated backup_migrate_update_7305() to fix schema problems.
- #2962822 by laryn: Spelling mistake: "frequecy".
- #2293601 by KimNyholm, fastturtle: Errors shown because directory handles are not closed when no longer needed.
Feature
- #2382541 by sano, DamienMcKenna, couturier, dman, modulist: Updated instructions for installing the S3 library.
- #1104012 by DamienMcKenna, axel.rutz, EmanueleQuinto, gisle, jacob.embree, Pere Orga, frenkx: On restore, provide option to drop all tables.
- #3014143 by DamienMcKenna: Add master switch to turn off hook_cron.
- #2404113 by DamienMcKenna, John Cook, danharper, salmino: Different host for AWS type server.
- #2494757 by pbuyle, DamienMcKenna, Ives, Calystod: Allow running a scheduled backup with Drush.
- #2949211 by gturnbull, DamienMcKenna, Alex Bukach, Eli.Stone, joelpittet: Optional memory limit setting to work around out-of-memory errors during backups.
Task
- #2891272 by DamienMcKenna, webservant316: phpsnif 7.1 says Method name \backup_migrate_destination_nodesquirrel::__xmlrpc\" is discouraged; PHP has reserved all method names with a double underscore prefix for future use.
- #2939277 by DamienMcKenna, baronmunchowsen: File mode change on sources.archivesource.inc.
- #3018002 by DamienMcKenna: Improve the module's documentation
- #3014597 by DamienMcKenna: Document the advanced backup options.
- #3014596 by DamienMcKenna: Require PHP 5.4.
- #3014603 by DamienMcKenna: Add a CHANGELOG.txt file
- #3014601 by DamienMcKenna: Re-enable all tests
- #3014594 by DamienMcKenna: backup_migrate_uninstall() doesn't delete all variables; renamed "backup_migrate_backup_memory_limit" variable to "backup_migrate_memory_limit".
- #3002975 by DamienMcKenna: Improve logging around the cron and backup processes.
- #3001702 by DamienMcKenna: Code cleanup on 7.x-3.x branch.
- #2935403 by DamienMcKenna, jacob.embree: Improve coding standards compliance.
- #2945704 by DamienMcKenna: Write tests for each backup filename option.
- #2937023 by DamienMcKenna: Add a test for the basic UI functionality.