Re: Testing Disaster Recovery using mksysb and restorevgf iles

From: Adams Kevin J (kevin.adams@PHS.COM)
Date: Wed Sep 25 2002 - 12:53:08 EDT


According to the source, you want to specify -r too.

Also, you're backing up to one place (ruby) and restoring from another
(genoa). Maybe just a bad example.

35 # Input flags:
36 #-----------------------------------------------------------------------
37 # -b blocks ## Number of 512-byte blocks to read in a single
38 # ## input operation
39 # ## Defaults to the default of the restore command
40 #-----------------------------------------------------------------------
41 # -f device ## Device (file, tape, cdrom) containing the backup
42 # ## Default: /dev/rmt0
43 #-----------------------------------------------------------------------
44 # -r ## Indicates files are to be restored from the backup
45 # ## List the files to be restored in the filelist
46 # ## Default: list files only
47 #-----------------------------------------------------------------------
48 # -a ## Verify tape physical block size
49 # ## (only applicable if tape device)
50 #-----------------------------------------------------------------------
51 # -s ## Specify if backup is of a user volume group (not rootvg)
52 #-----------------------------------------------------------------------
53 # -d ## Directory to restore files to (only used with -r)
54 #-----------------------------------------------------------------------
55 # filelist ## List of files to be restored if -r flag specified
56 # ## Default: restore all files
57 #-----------------------------------------------------------------------

Kevin Adams

-----Original Message-----
From: Patrick B. O'Brien [mailto:pobrien@DOIT.NV.GOV]
Sent: Tuesday, September 24, 2002 5:36 PM
To: aix-l@Princeton.EDU
Subject: [aix-l] Testing Disaster Recovery using mksysb and
restorevgfiles

Hello AIX'ers,

I'm testing my DR. I did a;

#mksysb -i /vol0/.rootvg_backups/ruby/mksysb.file.

To test my backup I did a;

# listvgbackup -f /vol0/.root*/genoa/mksysb.file |grep /etc/hosts
New volume on /vol0/.rootvg_backups/genoa/mksysb.file:
Cluster size is 51200 bytes (100 blocks).
The volume number is 1.
The backup date is: Tue Sep 24 09:26:09 PDT 2002
Files are backed up by name.
The user is xxxxxx.
        3275 ./etc/hosts
The number of archived files is 30755.

Then I did a;

#restorevgfiles -f /vol0/.root*/genoa/mksysb.file -d /tmp ./etc/hosts.

This utility scrolled through my mksysb.file file showing all the files.
But it never restored my /etc/hosts to my /tmp directory.

Has anyone been successful in restoring only a file from a mksysb using
restorevgfiles?

Thank you!!!

This electronic message transmission, including any attachments, contains information from PacifiCare Health Systems Inc. which may be confidential or privileged. The information is intended to be for the use of the individual or entity named above. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited.

If you have received this electronic transmission in error, please notify the sender immediately by a "reply to sender only" message and destroy all electronic and hard copies of the communication, including attachments.



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:16:13 EDT