Skip to main content

Exclude files in Weekly and Monthly backups only

Comments

3 comments

  • cPRex Jurassic Moderator

    Hey there!  That sounds like a perfectly fine plan to me - add your customizations just before the weekly and monthly backups run, and then remove them before the dailies run.  I don't see any issues with this.

    1
  • cobra65

    This strategy worked perfectly.  Ok, not perfectly.  Perfectly would be if the backups would allow weekly and monthly to have their own cpbackup-exclude.conf or directives in that file.  It did work as I expected though and that is good for now.

    I was a little thrown when the size of the /backups/monthly folder went down to 24 bytes, but found out it was because it was a hardlink to the daily backup, and when that daily backup was rotated out, it was moved into the monthly location and the size of /backups/monthly returned to 27 Gb, which was way less than the 54 Gb of a full backup.

    If you use this method be aware of the periods of time I mentioned above because your daily backups will not be full backups when the weekly and monthly are run, and when the weekly and monthly are one day apart that is two days in a row your daily backups will not be full backups.

    0
  • cPRex Jurassic Moderator

    You're always welcome to submit a feature request at features.cpanel.net for that expanded functionality, and I'll make sure the right team sees it!

    0

Please sign in to leave a comment.