Re: [Veritas-bu] How to backup to multiple drives
2009-02-19 16:36:28
Sorry - bad news on this.
NEW_STREAM is only good in policy include lists.
NEW_STREAM
/VAULT01
NEW_STREAM
/VAULT02
..or you can get creative with wildcards...
NEW_STREAM
/VAULT0[0-4]/folder[0-4]
NEW_STREAM
/VAULT0[5-9]/folder[0-4]
NEW_STREAM
/VAULT0[0-4]/folder[5-9]
NEW_STREAM
/VAULT0[5-9]/folder[5-6]
My filer backups are full of the most gawdawful patterns you've ever
scene in an attempt to make roughly equal-sized streams.
You could, then, call the policy on-demand from your master server with
the "bpbackup -i" option. This lets you make a fixed, dependable policy
but do a backup on demand rather than on-schedule.
Otherwise, you're doing two user-directed (ubak) jobs with two command
lines - no problem with that really, though, since it'll behave the way
you want
bpbackup -p <pol> -s <sched> -f <file-of-filenames-1>
bpbackup -p <pol> -s <sched> -f <file-of-filenames-2>
where "file-of-filenames-1" contains:
/path/dir1
/path/dir2
/path/dir3
(and similar for the second)
...or...
bpbackup -p <pol> -s <sched> /path/dir1 /path/dir2 /path/dir3
bpbackup -p <pol> -s <sched> /path/dir4 /path/dir5 /path/dir6
Note - it's "-f file-of-filenames" or "path.. path.. path.." on the
bpbackup line. Can't mix and match formats.
HTH
-M
-----Original Message-----
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of
dferguson
Sent: Thursday, February 19, 2009 1:58 PM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] How to backup to multiple drives
The NEW_STREAM is interesting and I have figured out how to backup
seperate files to two different drives from command line..I should
mention I am using CentOS5 as my Server, media server and client with
NBU 6.5 and I strictly use command line to do my backups directly from
the client.
>>From linux command line I can issue:
./bpbackup -p Policy_name -s User -S NEOVTS08 -h NEOVTS08 NEW_STREAM -f
/VAULT01/folder1/file1 NEW_STREAM -f /VAULT02/folder2/file2 -L
/tmp/progresslog -w 0
This will backup these two files to two seperate drives in my library.
But I am having difficulty figuring out how to give it a file list
instead of the individual files.
for example:
./bpbackup -p Policy_name -s User -S NEOVTS08 -h NEOVTS08 NEW_STREAM -f
/tmp/filelist1 NEW_STREAM -f /tmp/filelist2 -L /tmp/progresslog -w 0
where filelist 1 has
/VAULT01/folder1/file1
/VAULT01/folder1/file2
/VAULT01/folder1/file3
ect..
and filelist2
/VAULT02/folder2/file1
/VAULT02/folder2/file2
/VAULT02/folder2/file3
ect..
My problem is this does not backup correctly and only uses one drive
compared to the first example using the direct path. I am guessing my
syntax is incorrect here using a filelist...anyone familiar with command
line backups using NEW_STREAM?
+----------------------------------------------------------------------
|This was sent by dferguson AT crossroads DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
|
|
|