[Veritas-bu] backup from stdin
jfielden at excitecorp.com
Wed Oct 18 23:35:27 CDT 2000
Not exactly what you asked for, but may give you ideas, this is a piece of a script we used to use, ported from LEgato -> NetB after our transition...
[does find $mount-point, to create orabkplist.new file]
# split the list of files to backup and startup a save for each split
# With a smaller split number, the more save processes there are, so
# drives are used. With a larger number, more files are saved per
split -l 30 $BLD/orabkplist.new
print "Start time: `date`" > $BLD/log/$$.msgs
for i in *; do
# cat $i | xargs save -speanut -bPeanut -e"4 weeks" 1>$BLD/log/$$.$i 2>&1 &
# Modified for netbackup
/usr/openv/netbackup/bin/bpbackup -w -c peanut_vol -s Full `cat $i` 1>>$BLD/log/$$
.$i 2>&1 &
# wait for saves to complete
print "End time: `date`" >> $BLD/log/$$.msg
Hope this helps.
On Wed, Oct 18, 2000 at 08:47:42PM -0700, Speier, Guy J - CNF filled up my inbox with:
> Is there a meathod to run a user directed backup that
> backs'up STDIN as opposed to a regular file? I am
> exploring different disaster recovery models, so
> if you wouldn't mind sharing yours, I'd appreciate it.
> thank you,
> Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
"Any man page that includes the words "USE AT YOUR OWN RISK. BEWARE OF DOG.
SLIPPERY WHEN WET" means trouble" - Michael Lucas
Joshua Fielden, Senior Systems Administrator and Backups Team Lead
eXcite at Home, Inc. jfielden at excitecorp.com 650-556-3316
More information about the Veritas-bu