WordPress.org

Ready to get started?Download WordPress

Forums

BackUpWordPress
[resolved] BackUpWordPress - Backups Directory Can't Be Created (7 posts)

  1. mmmfruit
    Member
    Posted 1 year ago #

    Hello,

    I have been using BackUpWordPress with a website hosted on MediaTemple for more than a year without any problems.

    Just recently, I've moved to a new server, DreamHost. I followed the steps to move WordPress from one server to another (same domain & URL), and also uploaded my database backup created with BackUpWordPress without any problems, with the exception of this installing this plug-in on the new server.

    To be sure it wasn't my backup copy of the plug-in, I downloaded a fresh version of BackUpWordPress through the Admin screen, activated, and installed. This message is displayed across the top of all Admin screens:

    BackUpWordPress is almost ready. The backups directory can't be created because your wp-content directory isn't writable, run chown *********/wp-content or chmod 777 *********/wp-content or create the folder yourself.

    I've already created a new folder called "backups" in the wp-content folder and chmod to 777. From a security standpoint, doesn't seem like I would want the ENTIRE wp-content directory set to 777, but I did try that earlier and regardless, this message still continues to display.

    Please kindly assist.

    http://wordpress.org/extend/plugins/backupwordpress/

  2. mmmfruit
    Member
    Posted 1 year ago #

    Problem resolved after lots of troubleshooting! The problem was in the database files, due to MediaTemple and DreamHost having different paths for hosting the domain. Had to change several entries in the database file prior to uploading the backup.

  3. almikk
    Member
    Posted 1 year ago #

    I have a similar problem. I am using the same server but had to change the database name. It was XXXX_01 which I saved and then reloaded into XXXX_02. The dump does not seem to contain XXXX_01 so I simply changed the wp-config.php entry for database. I have been unable to get rid of the error message despite the backups directory existing and being world writeable.

    Where to now?

  4. Tom Willmot
    Human Made
    Plugin Author

    Posted 1 year ago #

    Deactivating and re-activating the plugin should also fix the issue.

  5. almikk
    Member
    Posted 1 year ago #

    Thanks, but I had already tried that without success.
    I now deleted the whole backupwordpress tree and installed it again from scratch. Same result (except the message now says run chown server:server / or chmod 777 / ). For obvious reasons I am not prepared to make my whole site owned by the server or world writeable.

  6. Tom Willmot
    Human Made
    Plugin Author

    Posted 1 year ago #

    You could also just create the backups directory yourself over FTP / SSH or whatever, it will need to be writable by whatever user PHP is running as on your server.

  7. almikk
    Member
    Posted 1 year ago #

    Tried that - in several variants. Still does not work.

    Web server runs as www-data.

    .../wp-content$ ls -alp
    total 32
    drwxrwxrwx 7 www-data www-data 4096 Feb 14 09:45 ./
    drwxr-sr-x 15 xxxxxxx hosting 4096 Jan 31 10:48 ../
    drwxrwsrwx 2 www-data www-data 4096 Feb 14 09:45 backups/
    -rw-r--r-- 1 xxxxxxx hosting 30 Apr 19 2011 index.php

    backups exists and is owned by the server and world writeable.

    I still get "BackUpWordPress is almost ready. The backups directory can't be created because your wp-content directory isn't writable, run chown www-data:www-data / or chmod 777 / or create the folder yourself."

    Done all three of them and still cannot get anywhere.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic