Skip to main content

Exclude WP Core Files From Backup Using cpbackup-exclude.conf

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! 1 - Sure, but I'm not sure it's worth it because these are typically not very large and not where much of the disk space gets used. Most of the actual usage would be the database and wp-content. 2 - It depends on exactly what files you plan to exclude. For example, the main wp-config.php would have the username and database connection details there, which would not be saved elsewhere. 3 - It wouldn't cause problems, but it would definitely involve more manual work. If you are creating a local exclude for an individual user, you would make the files relative to that user's home directory path, as shown in the example at the bottom of this page:
    0
  • HedSpaces
    Thank you, cPRex, for your advice. This is what I thought but the owner of the site is looking to reduce the backup as much as possible instead of increasing the disk size. The backup is temporarily stored on the disk before being uploaded to our offsite backup client then deleted from the disk, and the disk is running out of space to hold this temp backup. Your second opinion is greatly appreciated and answers my questions.
    0
  • cPRex Jurassic Moderator
    You're welcome!
    0

Please sign in to leave a comment.