Have a look at bperror command.
Ran the following with one of my jobs that got a status 1 - it contains the
name of the file it had an issue with (archive.pst). Note command was run on
my Unix NB Master against one of my NT backups:
bperror -jobid 131160
1151651414 1 4 4 atubks01 131160 131160 0 atldev01b bpsched added backup job
(jobid=131160) for client atldev01b, policy nt2k-atldev01, schedule Incremental
part 0 to NetBackup scheduler work queue
1151651414 1 4 4 atubks01 131160 131160 0 atldev01b bpsched started backup job
for client atldev01b, policy nt2k-atldev01, schedule Incremental on storage
unit atubks01_L700
1151651417 1 4 4 atubks01 131160 131160 0 atldev01b bpsched client atldev01b
handling path ALL_LOCAL_DRIVES
1151651417 1 4 4 atubks01 131160 131160 0 atldev01b bpsched client atldev01b
handling path System_State:\
1151651625 1 4 4 atubks01 131160 131160 0 atldev01b bptm begin writing backup
id atldev01b_1151651414, copy 1, fragment 1, to media id SU0208 on drive index
15
1151652138 1 4 16 atubks01 131160 131160 0 atldev01b bpbrm from client
atldev01b: ERR - failure reading file: C:\Documents and
Settings\hpudhiapura.DSW\Local Settings\Application
Data\Microsoft\Outlook\archive.pst (WIN32 33: The process cannot access the
file because another process has locked a portion of the file. )
1151652139 1 4 8 atubks01 131160 131160 0 atldev01b bpbrm from client
atldev01b: WRN - can't open file: C:\Documents and
Settings\hpudhiapura.DSW\Local Settings\Temp\1b\~DFDF3E.tmp (WIN32 32: The
process cannot access the file because it is being used by another process. )
1151654657 1 4 4 atubks01 131160 131160 0 atldev01b bptm successfully wrote
backup id atldev01b_1151651414, copy 1, fragment 1, 2746757 Kbytes at 909.704
Kbytes/sec
1151654659 1 68 4 atubks01 131160 131160 0 atldev01b bpsched CLIENT atldev01b
POLICY nt2k-atldev01 SCHED Incremental EXIT STATUS 1 (the requested operation
was partially successful)
1151654659 1 4 16 atubks01 131160 131160 0 atldev01b bpsched backup of client
atldev01b exited with status 1 (the requested operation was partially
successful)
-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu [mailto:veritas-bu-bounces
at mailman.eng.auburn.edu] On Behalf Of Schindelasch, Frerk
Sent: Friday, June 30, 2006 8:41 AM
To: veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] status 1 (was: Typical success rates?)
The Report does its job. But there were about 400 jobs with returncode 1 in the
past 5 days, anything that could be automated would help.
-----Urspr?ngliche Nachricht-----
Von: WEAVER, Simon [mailto:simon.weaver at astrium.eads.net]
Gesendet: Freitag, 30. Juni 2006 14:25
An: Schindelasch, Frerk; veritas-bu at mailman.eng.auburn.edu
Betreff: RE: [Veritas-bu] status 1 (was: Typical success rates?)
Not sure about command line, but doesn't the problem reports go into details?
Regards
Simon Weaver
3rd Line Technical Support
Windows Domain Administrator
EADS Astrium Limited, B32AA IM (DCS)
Anchorage Road, Portsmouth, PO3 5PU
Email: Simon.Weaver at Astrium-eads.net
-----Original Message-----
From: Schindelasch, Frerk [mailto:Frerk.Schindelasch at ewe.de]
Sent: 30 June 2006 13:15
To: veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] status 1 (was: Typical success rates?)
Is it possible, to get a list of the files not backed up in a job exiting with
RC 1 from the command line?
-----Urspr?ngliche Nachricht-----
Von: veritas-bu-bounces at mailman.eng.auburn.edu
[mailto:veritas-bu-bounces at mailman.eng.auburn.edu] Im Auftrag von WEAVER,
Simon
Gesendet: Freitag, 30. Juni 2006 13:53
An: 'Jeff Lightner'; bob944 at attglobal.net; veritas-bu at
mailman.eng.auburn.edu
Betreff: Re: [Veritas-bu] status 1 (was: Typical success rates?)
Jeff
Agree, as mentioned below in a Status 1 backup
1) exclude the file/files that are causing the status code
2) Investigate issue and if not relevant, revert to point 1.
Regards
Simon Weaver
3rd Line Technical Support
Windows Domain Administrator
EADS Astrium Limited, B32AA IM (DCS)
Anchorage Road, Portsmouth, PO3 5PU
Email: Simon.Weaver at Astrium-eads.net
-----Original Message-----
From: Jeff Lightner [mailto:jlightner at water.com]
Sent: 30 June 2006 12:49
To: WEAVER, Simon; bob944 at attglobal.net; veritas-bu at mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] status 1 (was: Typical success rates?)
Status 1 is not a failure UNLESS it's a database backup. For filesystems
everywhere I've been we've shown that a status 1 is not a failure but a
warning. Unfortunately you won't get Veritas to officially confirm that.
Some things I've seen cause a status 1:
Open files.
Files changed between the time the list for backup and the actual write to tape
occurred. Sun "Door" files.
We verified extensively at a job that required FDA Validation that restores
from such backups were indeed complete to the point in time the backup was
started. At that job we simply had to document that a status 1 was a success
for all but database backups.
Note that due to the status 1 scheduling tools Tivoli Work Scheduler
(Maestro) that show abends for non zero exit status need to be massaged. You
basically have to have the Maestro job script check for status 1 and mark exit
the script with status 0 to prevent this. "exit 0" is all you have to do in a
script to make this work. It took me a while to get our schedulers to
understand this concept but once they did and I gave them the syntax they were
able to avoid reported abends for this.
-----Original Message-----
From: veritas-bu-bounces at mailman.eng.auburn.edu
[mailto:veritas-bu-bounces at mailman.eng.auburn.edu] On Behalf Of WEAVER, Simon
Sent: Friday, June 30, 2006 4:16 AM
To: 'bob944 at attglobal.net'; veritas-bu at mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] status 1 (was: Typical success rates?)
Bob
As the image is stored in the DB, I still see Status 1 as a good backup.
As long as you can get the data that needs to be backed up, and you identify
the reason for the "1" you have 2 options in my view:
1) exclude the file/files that are causing the status code
2) Investigate and if not relevant, revert to point 1.
Anything higher is what I class a failure.
Regards
Simon Weaver
3rd Line Technical Support
Windows Domain Administrator
EADS Astrium Limited, B32AA IM (DCS)
Anchorage Road, Portsmouth, PO3 5PU
Email: Simon.Weaver at Astrium-eads.net
-----Original Message-----
From: bob944 [mailto:bob944 at attglobal.net]
Sent: 30 June 2006 08:13
To: veritas-bu at mailman.eng.auburn.edu; WEAVER, Simon
Subject: RE: [Veritas-bu] status 1 (was: Typical success rates?)
> Exclude the "1"'s as I dont class them as failures :-)
Which might be why NetBackup defines stat 1 as "partial success" _and keeps the
image_. Final status <= 1 yields a restorable image; status > 1 does not
(archives excluded). I think we agree that stat 1 beats the heck out of stat >
1.
That said, Operations can not accept a stat 1 without investigation. What is a
status 1--is it one of the 15-odd conditions in the Status 1 section of the
NetBackup Troubleshooting Guide? Is it "just another goofy Windows busy
perfdat file?" The definition Ops must apply is "of all the files which were
to be backed up, some were and some were not."
Example A:
Files to be backed up (seletion minus excludes plus includes: 1,000,000 Files
backed up: 999,999 Files not backed up: 1
Status: 1
Example B:
Files to be backed up (seletion minus excludes plus includes: 1,000,000 Files
backed up: 1 Files not backed up: 999,999
Status: 1
Hence the BBP requirement that intelligence, artificial or human, be applied to
stat 1s every time.
This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate or
otherwise deal with it. Please notify the sender by return email. The views of
the author may not necessarily constitute the views of EADS Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or
obligation.
EADS Astrium Limited, Registered in England and Wales No. 2449259 Registered
Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
_______________________________________________
Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate or
otherwise deal with it. Please notify the sender by return email. The views of
the author may not necessarily constitute the views of EADS Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or
obligation.
EADS Astrium Limited, Registered in England and Wales No. 2449259 Registered
Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
_______________________________________________
Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
_______________________________________________
Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate or
otherwise deal with it.
Please notify the sender by return email.
The views of the author may not necessarily constitute the views of EADS
Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or
obligation.
EADS Astrium Limited, Registered in England and Wales No. 2449259 Registered
Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
_______________________________________________
Veritas-bu maillist - Veritas-bu at mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://mailman.eng.auburn.edu/pipermail/veritas-bu/attachments/20060630/b8aa4c18/attachment-0001.html
|