Content-type: text/html Manpage of dobackup.pl

dobackup.pl

Section: Webcon Open-Source Tools (8)
Updated:
Index Return to Main Contents
 

NAME

dobackup.pl - performs incremental backups  

SYNTAX

dobackup.pl [option(s)]

Supported options are:


  -h, --help
  -d [INT], --debug [INT]
  -V, --version
  --test
  --config STRING
  --timestamp LONG
  --host STRING
  --rotate  

DESCRIPTION

A flexible Perl script to handle unattended incremental backups of multiple servers. Handles multiple media sets with automatic media preparation and rotation, configurable 'what-to-backup', global exclusion patterns, user settable 'don't-backup-this-directory' metafiles. Design goal: zero-maintenance, nothing to do except change the media when told.  

OPTIONS

-h, --help
Output help information and exit.
-V, --version
Output version information and exit.
-d <integer>, --debug <integer>
Set debugging level to <integer>, or to 1 if <integer> is omitted.
--test
Tests to see if all backup requirements have been satisfied, individually, for each configured host. Running in --test mode does not perform a backup.
--config <filename>
Use <filename> as the config file. Default is /etc/dobackup.conf.
--timestamp <long>
Override the timestamp of the last backup, and use the supplied timestamp which should be the number of seconds since 1970/01/01 00:00:00. Only files that have been modified since this time are backed up.
--fullbackup
This is a shorcut form of --timestamp 0, forcing a complete non-incremental backup.
--host <hostname>
Only backup the specified defined host instead of all hosts.
--rotate
For Mediasets with multiple Mediaunits, eject the current mediaunit and prepare for receiving the next mediaunit after this backup has completed. NOTE: When used in conjunction with the --test option, this will rotate the mediaunits immediately without performing a backup.
 

FILES

/etc/dobackup.conf
the default config file for dobackup.
/var/log/backup/*
the default location for log files produced by dobackup.
dobackup.conf.sample
included in the distribution, contains well-commented examples of all available config file directives.
 

EXAMPLES

To run this program the standard way type:

dobackup.pl

To perform a full backup, say at the start of the month:

dobackup.pl --fullbackup

To eject the media after this backup:

dobackup.pl --rotate

 

AUTHORS

Ian E. Morgan <imorgan at webcon dot net>
Robert Hardy <rhardy at webcon dot net>

Miscellaneous suggestions and bug reports by a number of active users. They know who they are.  

SEE ALSO

afio(1), mt(1)


 

Index

NAME
SYNTAX
DESCRIPTION
OPTIONS
FILES
EXAMPLES
AUTHORS
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:54:29 GMT, August 18, 2002