BackupRotator - Utility to rotate backup and log files
Posted on: 07/12/2011 09:51 AM

Ubuntu Geek shows you how to install BackupRotator

BackupRotator - Utility to rotate backup and log files


BackupRotator is a small Java utility to rotate files of any kind (including backup files, log files, etc.) and to be able to keep the newest n files.It is a program that allows files to be “rotated” with an upper limit on the number of files that exist.

Basically, it is given a filename(s) and a number n in a configuration file and it renames the filename(s) such that there it forms an increasing list filename1, filename2, up to the smaller of n or as many as are available. If there are more than n files when the program is run, the oldest files get deleted.



Printed from Linux Compatible (http://www.linuxcompatible.org/news/story/backuprotator_utility_to_rotate_backup_and_log_files.html)