App::Rsnapshot::Rotate - rotate snapshots
# rotate the 'alpha' interval App::Rsnapshot::Rotate::go(config => $config, interval => 'alpha');
Rotates the named interval in your backups
Takes two named parameters, config and interval, being the name of the interval you want to rotate.
config
interval
If the named interval is the first interval, then every foo.$number directory is renamed to foo.$number+1 except the highest numbered, which is renamde to _delete.$$ where $$ is the process ID, and foo.0 which is left alone.
If the named interval is *not* the first interval then it only rotates if previous.last exists. In that case, every foo.$number directory is renamed to foo.$number+1 except the highest numbered, which is renamde to _delete.$$, and previous.last is moved to foo.0.
None known.
http://www.cantrell.org.uk/cgit/cgit.cgi/rsnapshot-ng/
Copyright 2009 David Cantrell <david@cantrell.org.uk>
This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.
This module is also free-as-in-mason software.
To install App::Rsnapshot::Rotate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::Rsnapshot::Rotate
CPAN shell
perl -MCPAN -e shell install App::Rsnapshot::Rotate
For more information on module installation, please visit the detailed CPAN module installation guide.