NAME
Backup::EZ - Simple backups based on rsync
VERSION
version 0.46
SYNOPSIS
use Backup::EZ;
my $ez = Backup::EZ->new;
$ez->backup;
DESCRIPTION
Backup::EZ is backup software that is designed to be as easy to use as possible, yet provide a robust solution
If you only want to run backups, see the included command line utility "ezbackup". See the README for configuration instructions.
SUBROUTINES/METHODS
new
optional args: conf => $config_file dryrun => $bool, exclude_file => $rsync_excl_file
get_conf_dirs
Returns a list Backup::EZ::Dir objects as read from the conf file.
dump_conf
Does what it says.
backup
Invokes the backup process. Takes no args.
expire
Expire backups. Gets a list of current backups and removes old ones that are beyond the cutoff (see "copies" in the conf file).
get_backup_host
Returns the backup_host name.
get_dest_dir
Returns the dest_dir.
get_list_of_backups
Returns an array of backups. They are in the format of "YYYY-MM-DD_HH:MM:SS".