Ohloh Summary

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.

Eg: If there are files called log1, log2, log3 and maxNo=3, running the program will delete log3, rename log2 to log3 and rename log1 to log2.

Eg: If there are files called log1, log2, log3 and maxNo=0, running the program will rename log2 to log3 and rename log1 to log2.

Eg: If there is a file called log1 and maxNo=3, running the program will delete log3, rename log1 to log2.

Eg: If there are files called log1, log2 and maxNo=3, running the program will rename log2 to log3 and rename log1 to log2.

BackupRotator is Free Software (Open Source) and is available under the terms of the GNU GPLv3+.

For users, visit Downloads to download the latest release. The release contains README and INSTALL files to get it up and running quickly. It requires the Java Runtime Environment 6.

For developers, the code can easily be cloned using Git. It is also easy to fork on GitHub. Contributions can then be made by sending patches or pull requests (preferred) either via the the mailing list, the ticketing system, the forum or GitHub.

Developers can use the following command to clone the git tree:
git clone git://github.com/rosslagerwall/backuprotator.git

Mailing List

Any comments, queries, discussion, patches, pull requests, etc., can be done via the mailing lists.

Forum

The forum can be used instead of the mailing lists if desired.

Reporting Bugs

Bugs can be reported via the ticketing system. Please follow good bug reporting guidelines ensuring that the full details of the platform are described as well as easily performed steps to reproduce the bug. Feature requests can also be sent via the ticketing system.

News

Move to GitHub
Written on 6 February 2012

The project's canonical repository is now hosted on GitHub. The move was done simply because of the better code-hosting facilities. The remainder of the project (downloads, issues, etc.) is still hosted on SourceForge.
Version 1.0.0
Released on 10 July 2011
Initial release

Screenshot

help

Following

Apart from the website, forum and mailing list, the project can be followed on freshmeat and ohloh.