WordPress.org

Support

Support » Plugins and Hacks » BackUpWordPress » [Resolved] Advanced Options.. HELP!

[Resolved] Advanced Options.. HELP!

  • I am very confused and am not a savvy code guy.

    I just want to change the # of BU’s to keep to 4 and ONLY do a Database BU. I am not sure where in the wp-config I would add that and how to exactly structure the code.

    Could you assist? Thanks!

    Dan
    strongdisciple.com

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tom Willmot

    @willmot

    Hi dan,

    Add the code to your wp-config.php file, somewhere below the database defines.

    To limit backups to 4
    define( 'HMBKP_MAX_BACKUPS', 4 );

    To set to database only
    define( 'HMBKP_DATABASE_ONLY', true );

    Thanks Tom! That worked like a charm. One more thing.. I can’t figure out the “path” format so I can change it to a new location. Am I close?

    define( ‘HMBKP_PATH’, /home/user/public_html/strongdisciple.com/bu-db );

    I get a line error when I add the code.

    Thanks!
    D

    Plugin Author Tom Willmot

    @willmot

    That looks about right, you just need single quotes around the path

    define( ‘HMBKP_PATH’, ‘/home/user/public_html/strongdisciple.com/bu-db’ );

    Thanks so much Tom, I appreciate your customer service!

    D

    Plugin Author Tom Willmot

    @willmot

    Thanks for the great feedback.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Advanced Options.. HELP!’ is closed to new replies.
Skip to toolbar