I have Backup and Migrate Files installed on Drupal 7.14 (with all of the necessary dependencies). I can run the backup of the Public Files directory and what appears to be a .tar.gz file downloads. However, I am unable to extract the file. When I simply double click on the file (I have a Mac, so this should just unzip the file), rather than unzipping it actually archives it as a .tar.gz.cpgz file. When I try to exact it using gunzip, I get the following message:

[filename].tar.gz: not in gzip format

and similarly if I try to unzip using tar -xzf I get the following:

tar: Unrecognized archive format: Inappropriate file type or format
tar: Error exit delayed from previous errors.

I have Backup and Migrate files installed on another Drupal instance that is still version 7.12 (I know I know I need to upgrade), and I don't have this problem, so right now it appears that the module worked correctly with Drupal 7.12 but isn't working correctly with Drupal 7.14.

Any help much appreciated - thanks again for a very useful module.

Comments

egrotke’s picture

I'm having the same issue.
Note you can make a backup w/o compression using the advanced backup option.
However when I try to migrate with the resulting file it gives me an internal server error and does nothing.

MarkU’s picture

Same for me (nice to know it's not just me !) - running Drupal 7.14 in Quickstart 1.0

LNakamura’s picture

I get the same error trying to untar manually (-xzvf). I'm running Dupal 7.14, and:
Other Backup and Migrate (backup_migrate) Module Enabled 7.x-2.3
Other Backup and Migrate Files (backup_migrate_files) Module Enabled 7.x-1.x-dev

sterndata’s picture

same error:

$ tar zxvf site-2012-08-16T11-05-43.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Exiting with failure status due to previous errors

unzipping with gzip is OK, but tar definitely doesn't like the file

In advanced settings, I turned off compression. The problem is definitely the tar file, not the compression.

LNakamura’s picture

The solution is to upgrade Backup and Migrate to 7.x-2.4 - see http://drupal.org/node/1617702

MatheoDJ’s picture

Status: Active » Fixed

So then this is fixed as of the update

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

MariskaTh’s picture

Hello,

I'm experiencing the same issue. I have version 7.x-3.5 and Core version 7.57. If I backup my site to downloads, whether with a quick backup or advanced, I get a tar.gz folder I cannot extract. I can look into the folder and see that many files are not in this folder, for example the sites/all folder is not there.

I have downloaded and extracted Drupal 7.57 and that was no problem. So it shouldn't be a problem on my computer.

How can I solve this?

Best regards,
Mariska.