Chroniton::Restore - implements restoration from backups
my $restore = Chroniton::Restore->new($config, $state, $log); my @versions = $restore->restorable("/foo/bar"); $restore->restore($versions[0]);
Standard config, state, and log objects. Unless you're Chroniton.pm you shouldn't be calling this.
Chroniton.pm
Restores the Chroniton::File object represented by file. If force is specified, the file will be overwritten if it exists. (Otherwise, the existence will throw a fatal error.)
Chroniton::File
file
force
Returns the number of files that were successfully restored.
Lists all revisions of all files that are versions of filename. Returns a list of Chroniton::File objects.
filename
To install Chroniton, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chroniton
CPAN shell
perl -MCPAN -e shell install Chroniton
For more information on module installation, please visit the detailed CPAN module installation guide.