Veritas-bu

Re: [Veritas-bu] multistream a user-defined backup.

2008-11-07 14:25:53
Subject: Re: [Veritas-bu] multistream a user-defined backup.
From: "Donaldson, Mark" <Mark.Donaldson AT cexp DOT com>
To: "Michitsch, John" <JMICHITS AT gannett DOT com>, <VERITAS-BU AT mailman.eng.auburn DOT edu>
Date: Fri, 7 Nov 2008 12:13:10 -0700
You can still use a wildcard in a loop to discover all what needs to be
backed up and then send via multiple bpbackup commands.

The script snip I included is a ksh format but if you can do it in a
*.bat format, it should work to both discover the files and send them in
separate commands.

Why would backing up the file truncate the log?  It's not a core feature
of backup.  If it's a post-backup script, you can control when it's
executed by using a different policy (or schedule name) than the one
tied to the normal backup method.

-M 

-----Original Message-----
From: Michitsch, John [mailto:JMICHITS AT gannett DOT com] 
Sent: Friday, November 07, 2008 11:04 AM
To: Donaldson, Mark; VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] multistream a user-defined backup.

Yes, but the problem with the full backup is it truncates the logs, and
we do not want that to happen.  SO form what you're saying, there is no
way to accomplish this?  The reason for not doing multiple bpbackup
commands is I want to manually add a bpbackup stream when a new database
is created, that is why I'd like to do with the wildcards...

-----Original Message-----
From: Donaldson, Mark [mailto:Mark.Donaldson AT cexp DOT com]
Sent: 07 November, 2008 12:54 PM
To: Michitsch, John; VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] multistream a user-defined backup.

You're right - user-defined backups won't break into multiple streams.
You can do multiple bpbackup commands.  If you do them in rapid
succession, NetBackup will usually multiplex them correctly onto a tape.
Something like:

for dir in Microsoft Information Store:\*SG*
do
  bpbackup -p policy_name -s ubak_schedname -t 16 $dir
done

Of, if there's sufficient permissions, you can build a policy & then
call the scheduler to perform the backup.  The scheduler can do the
multi-stream inherently.

Policy has
INCLUDE: Microsoft Information Store:\*SG*
"Allow Multiple Streams": Checked

Build it with a "full" policy but no schedule defined.

Then call the scheduler:
bpbackup -i -p <policy> -s <sched> -h <host>

-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
Michitsch, John
Sent: Friday, November 07, 2008 10:16 AM
To: VERITAS-BU AT mailman.eng.auburn DOT edu
Subject: [Veritas-bu] multistream a user-defined backup.

I am trying to back up some Exchange datastores using a user-defined
backup (we do not want the logs truncated, our storage system takes care
of that).  I would like to backup all of the stores at once, but I can't
get to work.  Backing up using a full schedule with mulitstreaming backs
up each store in its own stream, but user-defined does not.  Can anyone
assist me with this? The bpbackup command I am using on the client looks
like this:

bpbackup -p policy_name -t 16 "Microsoft Information Store:\*SG*"

Thanks.

_______________________________________________
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