Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The extract function uses gunzip regardless of whether the archive is .tar or .tar.gz. The backup function does check if "gz" is specified, and creates a .tar if it is absent.
See patch attached. Also I made a module to make testing this easier: https://drupal.org/sandbox/gboudrias/2169019
Blocking http://drupal.org/node/2154803
Comment | File | Size | Author |
---|---|---|---|
provision-non_gzipped_backups_cant_be_restored.patch | 1005 bytes | gboudrias |
Comments
Comment #1
ergonlogicThis looks like it should work. Can you post a drush snippet to test it?
Comment #2
ergonlogicnevermind, I missed the module you'd posted.
Comment #3
ergonlogicThis works quite nicely.
Comment #4
ergonlogicFixed in 5efc742 (for 7.x-3.x) and 8bdada6 (for 6.x-2.x).
Thanks!