Home > database >  PB database backup system how to do it automatically delete backup files more than 30 days
PB database backup system how to do it automatically delete backup files more than 30 days

Time:09-21

PB database backup system how to do it automatically delete backup files more than 30 days

CodePudding user response:

API file time

CodePudding user response:

Or write the time when I was your backup to the backup file name, to remove the traverse the filename, over time is deleted

CodePudding user response:

Take the current date of 30 days before the date, if there's any documents are in conformity with this, there are removed.
Example: 2012/12/4 2012/11/4 file called: 30 days before back2012114. Bak
  • Related