• Resolved christogeretz

    (@christogeretz)


    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', '[email protected]' );

    What do I have wrong? Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matthew Haines-Young

    (@mattheu)

    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.

    Thread Starter christogeretz

    (@christogeretz)

    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

    Plugin Author Matthew Haines-Young

    (@mattheu)

    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Am I using these codes correctly?’ is closed to new replies.