These are the warnings and error message when I try to restore a eas encrypted backup file:

warning: ZipArchive::getNameIndex() [ziparchive.getnameindex]: Invalid or unitialized Zip object in /var/www/vhosts/mydomain.com/subdomains/dev/httpdocs/sites/all/modules/backup_migrate/includes/filters.compression.inc on line 205.
warning: ZipArchive::getStream() [ziparchive.getstream]: Invalid or unitialized Zip object in /var/www/vhosts/mydomain.com/subdomains/dev/httpdocs/sites/all/modules/backup_migrate/includes/filters.compression.inc on line 206.
Could not decompress backup file. Please check that the file is valid.
Could not perform the restore.

Could this be the cryptic error message when source and destination encryption keys don't coincide? Could it be that certain characters are not allowed in the key? I remember using keys like this before without this error message.

Comments

ronan’s picture

Status: Active » Postponed (maintainer needs more info)

Yeah, it could be that the keys don't match. If the decryption step doesn't work, then the unzipping step will be working on a garbled file. Can you check if this is the case in your situation.

ronan’s picture

Issue summary: View changes

privacy removal

ronan’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (works as designed)

Let me know if this is still a problem.