• Resolved sweety garg

    (@sweety-garg)


    Hello Admin,

    i am using the backupwordpress plugin for a long time. and i am very much satisfying with this plugin. But today I need a help from this plugin. I want to take backup of some selective files only. So I am using exclude option. But there are so many files that I want to exclude. Kindly provide an option where I can exclude multiple files at once.

Viewing 1 replies (of 1 total)
  • Plugin Contributor Katrina “Kat” Moody

    (@katmoody)

    Hey there –

    We definitely have this listed as an enhancement to try and work on in the future! If you haven’t already tried, you might find it easier using the exclude option that utilizes a constant added to the wp-config.php file.

    Specifically, you would use the HMBKP_EXCLUDE constant. You would add a line like the following to your wp-config.php file, using your own comma separated list of files or directories to exclude. Our own and some other plugins’ backup directories are automatically excluded.

    So you’d replace the '/wp-content/uploads/, /stats/, .svn/, .txt' with your own comma separated list below:

    define( 'HMBKP_EXCLUDE', '/wp-content/uploads/, /stats/, .svn/, .txt' );

    Let me know if that helps you out for now. And we will definitely be looking at easier ways to extend this for our users more in the future.

    Kat

Viewing 1 replies (of 1 total)

The topic ‘Exclude files’ is closed to new replies.