Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Database Backup Pruning?
#1
Not Solved
I have weekly database backups as old as April 2011, and I would like to remove most of the older backups. A quick Google yielded neither instructions nor plugins, so if anyone knows of an existing solution, I'd appreciate it.

Otherwise, I could hack together a task and maybe make my first plugin. Smile
#2
Not Solved
If they are in your backup directory you can make a taskfile and use unlink() to delete old backups with a condition to the backup timestamp : filemtime().


Forum Jump:


Users browsing this thread: 2 Guest(s)