WordPress.org

Ready to get started?Download WordPress

Forums

WP-DB-Backup
[resolved] Backup .gz cannot be opened (6 posts)

  1. Rhand
    Member
    Posted 3 years ago #

    Installed this cool backup tool on a Dreamhost site as I love using this to backup. Could not open .gz anymore. Got this error: "not in gzip format" under Linux and under Mac is was just copied to the same file with extension .cpgz. Very odd!!. Had to use PMA to get a backup which did open without any issues..

    http://wordpress.org/extend/plugins/wp-db-backup/

  2. MichaelH
    Member
    Posted 3 years ago #

    When you used phpMyAdmin did you tell it to 'gzip' the file?

  3. Rhand
    Member
    Posted 3 years ago #

    Yes. Downloaded as a .gz from PMA as well. It "unzipped just fine. Tried the plugin WP-DB-Backup again, but still got a .cpgz instead of the .sql when I tried to unzip.

  4. Rhand
    Member
    Posted 3 years ago #

    Tried downoading backup created by plugin using Safari instead of Firefox this time. Safari tried to unzip it and failed with error:

    10/31/10 10:42:06 PM [0x0-0x190190].com.apple.Safari[6792] Sun Oct 31 22:42:06 mysmbp Safari[6792] <Error>: CGImageSourceCreateWithURL: CFURLCreateDataAndPropertiesFromResource failed with error code -14.

  5. Rhand
    Member
    Posted 3 years ago #

    Somehow files were corrupted before they got to my box. This goes for dumping using PMA as well as the WP-DB-Backup plugin.
    Tested dumps made them with hexdump on got:

    mymbp:Backup me$ hexdump -C file.sql.gz | head
    hexdump: file.sql.gz: No such file or directory
    hexdump: file.sql.gz: Bad file descriptor

    Tried gunzipping .gz files in terminal and got.

    gzip: /Users/me/Webdesign/folder/backup/file.sql.gz: not in gzip format

    . This happens often when making a dump on a server that is located several 1000 miles away. They were corrupted during transfer. When I use WP-DB_Backup and e-mail the SQL dump all is well and the files can be gunzipped or unzipped without any issues.

  6. JacobFennell
    Member
    Posted 3 years ago #

    You may try removing the .gz filename extension. I've seen .sql.gz files that are actually just .sql files.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic