perlvault [options]
perlvault --class {class list} --streams {# streams} --rn {robot #} --rt {robot type} --destpool {pool} --hourago {hours} --mailto {address} --altreadhost {media host} --dstunit {unit} --dev {device file for robot} --debug --help
The current incarnation of perlvault duplicates the most recent full backup image (with a return code of 0 or 1) for all hosts in the specified class. It then ejects the media from the robotic library. The idea is to setup a cron job which duplicates the images during drive and robot idle time.
The following options may be specified: streams The number of concurrent duplications. Each duplication will require a minimum of 2 devices. The default is 1. rn The robot number. The default is 0. rt The robot type. The default is tld. dev The device file for the robot. The default is /dev/sg/c2t2l1 (because that's where my robot is). class The class you'd like to duplicate full backup images for. You may specify multiple class (policy) names in a comma separated list. dstunit The destination unit name. The default is nbmaster-hcart-robot-tld-0. destpool The destination pool. The default is offsite hoursago How may hours back you want to look for the best backup image to duplicate. The default is 168. The newest image is always chosen, so keep this as small a value as possible. altreadhost Useful in an SSO environment. Mount the tape for reading on this host instead of the media host that created the image. debug Dump some debug messages to the screen.
example 1: perlvault --class win_monday,unx_solaris --streams 3 --rn 0 --rt tld --destpool offsite --mailto me@here.com example 2: perlvault --class unx_solaris --rn 0 --rt tld --dev /dev/sg/c0t1l1 --dstunit hcart-robot-tld-0 --hoursago 360
perlvault Maintained by Eric Forgette
|