Skip to main content

Drupal

Issues with Drupal

Backup and Migrate 6.x-2.2 Could not perform the restore

In Drupal 6.16 we are having an issue with restoring a downloaded backup.

The error I getting is:

  • Could not decompress backup file. Please check that the file is valid.
  • Could not perform the restore.

Upload a backup and migrate backup file. The restore function will not work with database dumps from other sources such as phpMyAdmin.

adding php5-curl ZIP and ZLIB

Nevermind. Just realized we didn't have php5-curl on that server. I added it and reloaded.

# cd /usr/ports/ftp/php5-curl/

make install && make clean

also adding

WITHOUT_ZIP=true
WITHOUT_ZLIB=true

cd /usr/ports/lang/php5-extensions/
prompt# make deinstall
===>  Deinstalling for lang/php5-extensions
===>   Deinstalling php5-extensions-1.2

prompt# make reinstall
 

[X] ZIP         ZIP support

[X] ZLIB        ZLIB support

This fixed it. It was probably ZLIB

Good to go.

Backup and Migrate 6.x-2.2 Could not compress backup file.

Getting new warnings and errors with Backup and Migrate 6.x-2.2

on Drupal 6.16

The error was:

Could not compress backup file. Try backing up without compression.
Could not complete the backup.

Was this on FreeBSD?

or Linux?