Patrick
Thanks for the additional information. We’ve managed to get the script
running after making the changes that Dean sent me.
Dean
Thanks for all your help with this issue.
Daniel
From: Sweeney, Patrick
[mailto:Patrick.Sweeney AT axcelis DOT com]
Sent: Tuesday, April 28, 2009 9:20 AM
To: Dean; Jimenez, Daniel
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Bpbackup Command Issues
Alternatively you would need to run the command on the master
server. I have some processes where I run a script prior to kicking off
the backup, and then fire off the backup command on the master server by using
schtasks. If you have multiple schedules in the policy, you will probably
want to specify the schedule in the command.
Patrick Sweeney
(978) 787-4553
patrick.sweeney AT axcelis DOT com
I.T. Systems/Networks
For issues requiring immediate attention please contact the
Solution Center
IT Solution Center
(978) 787-7777
Beverly.Helpdesk AT axcelis DOT com
Axcelis Technologies
Have you searched here
and here?
From:
veritas-bu-bounces AT mailman.eng.auburn DOT edu [mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu]
On Behalf Of Dean
Sent: Monday, April 27, 2009 9:13 PM
To: Jimenez, Daniel
Cc: veritas-bu AT mailman.eng.auburn DOT edu
Subject: Re: [Veritas-bu] Bpbackup Command Issues
You'll need a schedule of the
type "User Backup".
As you have the bpbackup command below, it will spawn the backup off and the
script will continue without waiting for the backup to actually complete. You
need to add the -w parameter if you want the script to wait for the backup to
complete and check it's status.
-
Dean
On Tue, Apr 28, 2009 at 9:25 AM, Jimenez, Daniel <Daniel.Jimenez AT imb DOT com> wrote:
Hey guys
We’ve been encountering issues running Bpbackup below through batch file on
a Windows Netbackup environment (6.5.1). We have been receiving the
errors below and was wondering if anyone has automated a _vbscript_ to run a
backup? We take a snap on a clariion and mount the drives, once the import
completes, we will then run the bpbackup command and if the status comes back
with a 0 we will continue the script which will deport the drives. The part of
the script that does not seem to work is listed below.
Script:
Bpbackup -p rst101_vtl -S master1
-h server1 -f d:\scripts\emxtest.txt -t 13 -L d:\Scripts\emx001-np1.log
(## attempted with –s and without)
Errors:
Backup
started 04/27/2009 15:36:07
15:36:11
Initiating backup
15:36:13
INF - Server status = 240
15:36:14
INF - Server status = 240
15:36:18
INF - Backup by admin_user on client server1 using policy rst101_vtl:no
schedules of the correct type exist in this policy.
=======================
15:58:09
Initiating backup
15:58:11
INF - Server status = 240
Backup
started 04/27/2009 16:01:25
The policy and schedule have been created and the server is listed as a
client. There are no issues with case sensitivity and have attempted several
ways to run this script. Any assistance would be appreciated, thanks.
Daniel
_______________________________________________
Veritas-bu maillist - Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu