|
#1
| |||
| |||
| I am creating a nightly mksysb image (mksysb -ie /dir/hostname.mksysb) How can I restore a particular file such as /var/adm/messages into a particular location? TIA |
|
#2
| |||
| |||
| 1. use tctl command to position mksysb tape at the beginning of fourth image. 2. use following example from AIX Infocenter: ----------------------------- # To restore a specific file, type: restore -xvqf myhome.bkup system.data This command extracts the file system.data into the current directory from the archive myhome.bkup. The archive in this example is in the current directory. File and directory names must be specified as they are displayed when using the -T flag. The -v flag displays additional information during the extraction. This example applies to both file-name and file-system archives. ----------------------------- Of course, substitute myhome.bkup with /dev/rmt0 (or similiar, if you have multiple such devices configured). |
|
#3
| |||
| |||
| Mag M> Hi All, M> M> I am creating a nightly mksysb image (mksysb -ie /dir/hostname.mksysb) M> M> How can I restore a particular file such as /var/adm/messages into a M> particular location? M> M> M> TIA M> /usr/bin/restorevgfiles -f /dev/rmt0 -d /particular/location ./var/adm/messages assuming the image is on rmt0. -- "... I shook my family tree, and a bunch of NUTS fell out ..." |
![]() |
« Previous Thread
|
Next Thread »
| Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| new lpar cant boot after mksysb restore - no hdisk | unix | Aix | 2 | 02-28-2008 12:08 PM |
| mksysb restore AIX 5.3 | unix | Aix | 6 | 02-26-2008 05:55 AM |
| AIX 5.3 ML05 maitenance mode from 1st mksysb/mkcd-cd starts restore instead of boot-menu | unix | Aix | 2 | 10-04-2007 12:59 AM |
| External VGs after a mksysb restore | unix | Aix | 0 | 10-04-2007 12:59 AM |
| NIM mksysb restore - missing /proc | unix | Aix | 0 | 10-04-2007 12:41 AM |
All times are GMT. The time now is 08:35 AM.




