Perlbak
January 2, 2008
I have just completed a working copy of Perlbak, and uploaded it to the project directory on dev.sihnon.net. Those of you with an LDAP account on SIHNON should be able to log in and retrieve a copy via subversion (details in the Trac environment). This copy of Perlbak features the following:
- Backup files from
- directories
- MySQL
- IMAP
- Transfer backups to:
- Other directories (e.g. via samba to another machine)
- SCP
- Encrypt backups using:
- AESpipe
A sample, commented configuration file is included. To run perlbak:
$ ./perlbak.pl [--quiet --silent | -v[...]] [--file-mode=full|inc] <–all | backup …>
Perlbak is designed to be run from cron.
Update:
Perlbak uses several perl modules, some of which do not come preinstalled, at least not on my system. To install them, run cpan, and install them with the following commands;
perl -MCPAN -e shell
install <package>The list of packages used by Perlbak is:
- BIND::Config::Parser
- Getopt::Long
- Pod::Usage
- Switch
- Sys::Pushd
- File::Copy::Recursive
- File::Recurse (At time of writing not available for install this way, get it manually from http://search.cpan.org/dist/File-Recurse/)
- FindBin
Filed under: development |
