WordPress.org

Ready to get started?Download WordPress

Forums

BackUpWordPress
[resolved] Am I using these codes correctly? (4 posts)

  1. christogeretz
    Member
    Posted 3 years ago #

    I've got a couple GB worth of photos I'd NOT like to backup every day, but can't seem to get the code right. Could you help me get it fixed?

    I inserted this into wp-config.php:

    define( 'HMBKP_EXCLUDE', '/wp-content/uploads/folder' );
    define( 'HMBKP_EMAIL', 'name@email.com' );

    What do I have wrong? Thanks for your help!

  2. Matthew Haines-Young
    Human Made
    Plugin Author

    Posted 3 years ago #

    What are you trying to exclude.

    Is there a folder in your uploads directroy called 'folder'?

    If not - and you want to exclude the entire uploads directory - you can just remove that part of the code.

    Other than that - it looks OK.

  3. christogeretz
    Member
    Posted 3 years ago #

    Looks like that worked (added a '/' after "folder"):

    June 21, 2011 23:41 34.42 MB Download | Delete
    June 21, 2011 07:05 2.47 GB Download | Delete <-- before exclusion

  4. Matthew Haines-Young
    Human Made
    Plugin Author

    Posted 3 years ago #

    Glad that worked.

    I would recommend downloading the backup - extracting it - and just checking exactly what has been backed up.

    We will include some more detailed instructions for using the exclude option in the next release.

    If you like the plugin - we would be grateful if you could rate it.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic