Veritas-bu

[Veritas-bu] Validate a Policy and Backup restore.

2008-10-10 00:57:49
Subject: [Veritas-bu] Validate a Policy and Backup restore.
From: Harpreet SINGH <harpreet_singh AT ctl.creative DOT com>
To: veritas-bu AT mailman.eng.auburn DOT edu, veritas-bu-bounces AT mailman.eng.auburn DOT edu
Date: Fri, 10 Oct 2008 12:45:41 +0800
Dear All,

Here are two questions (this is for Linux master/media server) and all the
clients are on Linux/Solaris.

1. How to Validate a backup policy before its actual run.

I have a policy where it has more than 50 mount points to backup.  After
doing any modification in the mount points how to verify the policy where
it will check all the mount points are valid and ready for backup. In place
by next day u will see some backup's has failed or missing?

2.Restore of backup (where backup was done with << Allow Multiple Data
Streams and Limit Jobs per Policy set to 2>>

I am doing a backup of one policy with Multiple Data Streams and set Limit
Jobs per policy to 2. It is working fine and very FAST During the Backup
and Restore.

The Question is while doing restore, in the end of restore Status it show
the last Streams status. i.e. 1000 files. But whole backup has more than
100000 file.
But if you grep the restore files status you can count 100000 file.

Example

@ctlorabkp02:/usr/openv/netbackup/logs/user_ops/root/logs> tail -20
jbp-10746223518554148882000000027-d6zMKS.log
10:21:22 (9460.001) Changed /ACWW/acwwdb/10.2.0/xdk/include/xmlxvm.h to
/bkup_restore/ACWW/ACWW/acwwdb/10.2.0/xdk/include/xmlxvm.h
10:21:22 (9460.001) /ACWW/acwwdb/10.2.0/xdk/mesg/
10:21:22 (9460.001) Changed /ACWW/acwwdb/10.2.0/xdk/mesg/ to
/bkup_restore/ACWW/ACWW/acwwdb/10.2.0/xdk/mesg/
10:21:22 (9460.001) /ACWW/acwwdb/10.2.0/xdk/mesg/lpxus.msb
10:21:22 (9460.001) Changed /ACWW/acwwdb/10.2.0/xdk/mesg/lpxus.msb to
/bkup_restore/ACWW/ACWW/acwwdb/10.2.0/xdk/mesg/lpxus.msb
10:21:22 (9460.001) /ACWW/acwwdb/10.2.0/xdk/mesg/lpxus.msg
10:21:22 (9460.001) Changed /ACWW/acwwdb/10.2.0/xdk/mesg/lpxus.msg to
/bkup_restore/ACWW/ACWW/acwwdb/10.2.0/xdk/mesg/lpxus.msg
10:21:22 (9460.001) /ACWW/acwwdb/10.2.0/xdk/mesg/lsxus.msb
10:21:22 (9460.001) Changed /ACWW/acwwdb/10.2.0/xdk/mesg/lsxus.msb to
/bkup_restore/ACWW/ACWW/acwwdb/10.2.0/xdk/mesg/lsxus.msb
10:21:22 (9460.001) /ACWW/acwwdb/10.2.0/xdk/mesg/lsxus.msg
10:21:22 (9460.001) Changed /ACWW/acwwdb/10.2.0/xdk/mesg/lsxus.msg to
/bkup_restore/ACWW/ACWW/acwwdb/10.2.0/xdk/mesg/lsxus.msg
10:21:22 (9460.001) INF - TAR EXITING WITH STATUS = 0
10:21:22 (9460.001) INF - TAR RESTORED 47202 OF 47202 FILES SUCCESSFULLY
10:21:22 (9460.001) INF - TAR KEPT 0 EXISTING FILES
10:21:22 (9460.001) INF - TAR PARTIALLY RESTORED 0 FILES

10:21:23 (9460.001) Status of restore from image created Wed 08 Oct 2008
10:00:00 PM SGT = the requested operation was successfully completed

10:21:23 (9460.xxx) INF - Status = the requested operation was successfully
completed.

@ctlorabkp02:/usr/openv/netbackup/logs/user_ops/root/logs> grep -i "TAR
RESTORED"  jbp-10746223518554148882000000027-d6zMKS.log

10:21:22 (9460.001) INF - TAR RESTORED 47202 OF 47202 FILES SUCCESSFULLY

@ctlorabkp02:/usr/openv/netbackup/logs/user_ops/root/logs>

and here you can see the number of files on each mount point backed up.

I want to see the full status of restore in place getting the info from log
file by doing grep.

With Warm Regards
=-=-=-=-=-=-=-=-=-=-=-=-=-
Harpreet Singh Chana

Phone  :   (O) 6895 - 4326
Fax       :    (O) 6895 - 4991
=-=-=-=-=-=-=-=-=-=-=-=-=-


Notice
The information in this message is confidential and may be legally
privileged.  It is intended solely for the addressee.  Access to this
message by anyone else is unauthorized.  If you are not the intended
recipient,  any disclosure,  copying or distribution of the message,  or
any action taken by you in reliance on it,  is prohibited and may be
unlawful.  If you have received this message in error,  please delete it
and contact the sender immediately.  Thank you.


_______________________________________________
Veritas-bu maillist  -  Veritas-bu AT mailman.eng.auburn DOT edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu

<Prev in Thread] Current Thread [Next in Thread>
  • [Veritas-bu] Validate a Policy and Backup restore., Harpreet SINGH <=