WordPress.org

Forums

BackUpWordPress
[resolved] Advanced Options.. HELP! (6 posts)

  1. webtrix
    Member
    Posted 4 years ago #

    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

  2. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    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 );

  3. webtrix
    Member
    Posted 4 years ago #

    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

  4. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

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

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

  5. webtrix
    Member
    Posted 4 years ago #

    Thanks so much Tom, I appreciate your customer service!

    D

  6. Tom Willmot
    Human Made
    Plugin Author

    Posted 4 years ago #

    Thanks for the great feedback.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • BackUpWordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic