Title: [Plugin: WP-DB-Backup] Backup .gz cannot be opened
Last modified: August 19, 2016

---

# [Plugin: WP-DB-Backup] Backup .gz cannot be opened

 *  Resolved [Rhand](https://wordpress.org/support/users/rhand/)
 * (@rhand)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-db-backup-backup-gz-cannot-be-opened/)
 * 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/](http://wordpress.org/extend/plugins/wp-db-backup/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  [MichaelH](https://wordpress.org/support/users/michaelh/)
 * (@michaelh)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-db-backup-backup-gz-cannot-be-opened/#post-1744215)
 * When you used [phpMyAdmin](http://codex.wordpress.org/phpMyAdmin) did you tell
   it to ‘gzip’ the file?
 *  Thread Starter [Rhand](https://wordpress.org/support/users/rhand/)
 * (@rhand)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-db-backup-backup-gz-cannot-be-opened/#post-1744488)
 * 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.
 *  Thread Starter [Rhand](https://wordpress.org/support/users/rhand/)
 * (@rhand)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-db-backup-backup-gz-cannot-be-opened/#post-1744489)
 * 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.
 *  Thread Starter [Rhand](https://wordpress.org/support/users/rhand/)
 * (@rhand)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-db-backup-backup-gz-cannot-be-opened/#post-1744567)
 * 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.
 *  [JacobFennell](https://wordpress.org/support/users/jacobfennell/)
 * (@jacobfennell)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-db-backup-backup-gz-cannot-be-opened/#post-1744602)
 * You may try removing the .gz filename extension. I’ve seen .sql.gz files that
   are actually just .sql files.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘[Plugin: WP-DB-Backup] Backup .gz cannot be opened’ is closed to new 
replies.

 * ![](https://ps.w.org/wp-db-backup/assets/icon.svg?rev=2645691)
 * [Database Backup for WordPress](https://wordpress.org/plugins/wp-db-backup/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-db-backup/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-db-backup/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-db-backup/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-db-backup/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-db-backup/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [JacobFennell](https://wordpress.org/support/users/jacobfennell/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/plugin-wp-db-backup-backup-gz-cannot-be-opened/#post-1744602)
 * Status: resolved