• I am trying to save a backup of my blog.

    The permissions on the backup directory (wp-content/backup-xxxxx/) are 777.

    The permissions on /wp-content/ are 777.

    I’ve even set the permissions on /httpdocs/ to 777, just to see if that would work.

    The backup didn’t work with any of the three Backup Options: Save to server, Download, and Email. Every time I get the same error message that WP couldn’t open the backup file for writing.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Well with wp-content and wp-content/backup-xxxx with 777 that should work.

    Assuming that is the WordPress Backup Plugin, what version are you using?

    Also, what is the exact message you are getting?

    Thread Starter dianepatterson

    (@dianepatterson)

    I’m using 2.0.9.

    And I’m using the WordPress Backup Plugin (just the regular backup capability from the menus).

    I get a popup menu that says: “The backup file could not be saved. Please check the permissions for writing to your backup directory and try again.”

    And on the webpage under Progress: it says

    Creating backup file…
    Could not open the backup file for writing!

    Did this plugin ever work for you?

    I found a reference on Skippy’s (original plugin author) site and someone mentioned that they had to make a change cause of a problem with gzip.

    So in wp-db-backup.php they changed:

    from
    return function_exists('gzopen');
    to
    return false;

    Thread Starter dianepatterson

    (@dianepatterson)

    No, the plugin has never worked. I’l give this fix a try.

    …. And, no, I still get the message that WordPress could not open the backup file for writing.

    Can you FTP a file into the httpdocs/wp-content/backup-xxxx folder?

    Thread Starter dianepatterson

    (@dianepatterson)

    I use Transmit to upload files into the /backup-xxx/ folder. I’m not sure how I could go about ftp’ing, but I’ll look into it.

    …Heh, just checked. Transmit is FTP, so that’s what I’ve been using.

    And just to make sure, the backup-xxxx where the xxxx that is referred to is really something like 2fbe3 (not xxxx).

    I’m left with recommended trying the latest version of that plugin available from Filosofo at http://www.ilfilosofo.com/blog/wp-db-backup

    Thread Starter dianepatterson

    (@dianepatterson)

    Yes, the backup directory actually has a 5 digit/letter combination.

    The new version of the plugin doesn’t work either.

    I am very nervous at this point, as my hosting company is about to upgrade my server, and I’m afraid I’m going to lose everything from the blog since I changed to WP.

    See if you can deactivate the plugin, delete the backup-xxxx folder. Then reactivate the plugin and see if that works.

    I would be very nervous about no backup as well.

    Other options if you can’t get the plugin to work:
    1. Use phpMyAdmin to backup
    2. Ask your host to backup your database
    3. Use one of the other options in Backing_Up_Your_Database.
    4. Use Administration > Manage > Export

    I had the same problem. The solution: Copy the theme folder, rename it to backup-xxxx (as suggested in wordpress), delete it’s contents and set the rights to 777.

    (explanation: the owner and group of the original backup-xxxx are false and I couldn’t change them within Transmit – therefore the copy-paste-workaround).

    Thread Starter dianepatterson

    (@dianepatterson)

    THANK YOU! This fix worked! I now have a backup! I feel so relieved.

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

The topic ‘Backup not being saved’ is closed to new replies.