This should help...
http://www.backupcentral.com/phpBB2/two-way-mirrors-of-external-mailing-lists-3/symantec-netbackup-18/how-to-check-logs-99023/
===================
“If
it’s being manipulated via the GUI, here’s one way. Write a wrapper (I use a
Unix alias) for jnbSA that has something like this in it like this:
jnbSA -l $HOME/jnbSA/jnbsa.1016.log –lc
..or…
jnbSA –l /usr/openv/netbackup/logs/jnbsa/$USER.`date
+%y$%M%D`.$$.log
…or similar.
This’ll create a log file in a forced location with
per-user data in it. The “-lc” tells jnbSA to record the netbackup commands run
behind the scenes. You could mine it for the commands that have been run.
If it’s command line stuff, we have sudo for all
permissions on netbackup so we can mine the sudo logs for that info.
HTH – M”
===================
From: veritas-bu-bounces AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-bounces AT mailman.eng.auburn DOT edu] On Behalf Of Nic
Solomons
Sent: July 14, 2010 9:22 AM
To: VERITAS-BU AT MAILMAN.ENG.AUBURN DOT EDU
Subject: [Veritas-bu] Performing an Exchange RSG restore from the
commandline
Dear
All,
Ran
in to an interesting one today – I’m trying to script an Exchange recovery, for
a 2003 Exchange environment, so that we can kick it off in the middle of the
night...
Performing
this restore from the GUI works fine, but trying to do the restore with bprestore
does some weird stuff on the client...
The
syntax i’m using is:
bprestore
–cm –md -B -C mybackupclient -D myalternaterestorehost -S myserver -t 16
-s "06/23/2010 17:00:00" -e "06/24/2010 17:00:00" -w
00:00:30 "/Microsoft Information Store/Some Storage Group 1/Some Store
2" "/Microsoft Information Store/Some Storage Group 1/Log
files_1277312404"
I
guess the first question is, is there a way to ‘see’ the command syntax that is
submitted by the restore GUI? I looked in the user operations logs, but that
looks to just be job history, no syntax that I could see. Same as the bprestore
log...
The
‘weird stuff’ i’m seeing (from the tar logs, during environment discovery as
the restore starts up):
From
a GUI restore:
ov_log::V_GlobalLog:
INF - ESE_CheckForRSG( )
ov_log::V_GlobalLog:
INF - ESE_CheckForRSG( )
ov_log::V_GlobalLog:
INF - ESE_CheckForRSG: Result = c1032221, Storage group Some Storage Group 1 is
a recovery storage group
ov_log::V_GlobalLog:
INF - ESE_CheckForRSG( )
ov_log::V_GlobalLog:
INF - HrESEBackupFreeInstance:
ov_log::V_GlobalLog:
INF - HrESEBackupEnd: Microsoft Information Store = 0x00000000
ov_log::V_GlobalLog:
INF - HrESEFreeRegistered:
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: C:
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: D:
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: Microsoft Windows Network
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: \\myalternaterestorehost\Microsoft
Exchange Mailboxes
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: \\myalternaterestorehost\Microsoft
Exchange Public Folders
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: \\myalternaterestorehost\System?State
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: \\myalternaterestorehost\Microsoft
Information Store
ov_log::V_GlobalLog:
INF - DumpChildDleInfo() Child DLE Device Name: \\myalternaterestorehost\Microsoft
Information Store\First Storage Group
ov_log::V_GlobalLog:
INF - DumpChildDleInfo() Child DLE Device Name: \\myalternaterestorehost\Microsoft
Information Store\ Some Storage Group 1
ov_log::V_GlobalLog:
INF - DumpChildDleInfo() Child DLE Device Name: \\myalternaterestorehost\Microsoft
Information Store\Temp storage group
From
the scripted restore (Note the lack of “Some Storage Group 1” in either the RSG
discovery or the DLE):
ov_log::V_GlobalLog:
INF - ESE_CheckForRSG( )
ov_log::V_GlobalLog:
INF - ESE_CheckForRSG( )
ov_log::V_GlobalLog:
INF - HrESEBackupFreeInstance:
ov_log::V_GlobalLog:
INF - HrESEBackupEnd: Microsoft Information Store = 0x00000000
ov_log::V_GlobalLog:
INF - HrESEFreeRegistered:
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: C:
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: D:
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: Microsoft Windows Network
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: \\myalternaterestorehost\Microsoft
Exchange Mailboxes
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: \\myalternaterestorehost\Microsoft
Exchange Public Folders
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: \\myalternaterestorehost\System?State
ov_log::V_GlobalLog:
INF - DumpDleInfo() DLE Device Name: \\myalternaterestorehost\Microsoft
Information Store
ov_log::V_GlobalLog:
INF - DumpChildDleInfo() Child DLE Device Name: \\myalternaterestorehost\Microsoft
Information Store\First Storage Group
ov_log::V_GlobalLog:
INF - DumpChildDleInfo() Child DLE Device Name: \\myalternaterestorehost\Microsoft
Information Store\Temp storage group
Any
feedback appreciated,
Nic
The information contained in this e-mail and its attachments is confidential.
It is intended only for the named address(es) and may not be disclosed to
anyone else without Attenda's consent.