Single file restore from NIM backup


 
Thread Tools Search this Thread
Operating Systems AIX Single file restore from NIM backup
# 1  
Old 10-13-2009
Question Single file restore from NIM backup

Hi,

I've recently implemented a NIM backup procedure for 2 virtual AIX5.3 environments running on a JS22 blade server. The images transfer to an old p620 box connected to some old SSA storage, each server backs up a mksysb and a savevg image. Now seeing as this method should be replacing our backups to LTO tapes I'm wondering if I still have the same functionality with these NIM backups, namely can I restore a single file or directory from the backed up images without restoring the entire image first?
# 2  
Old 10-14-2009
MySQL

we can restore individual file from mksysb image..

Before restoring the file check it out whether file exists in mksysbimage:

#listvgbackup -f /mksysbimage

To restore individual file:

#restorevgfiles -r -f /mksysbimagelocation ./etc/hosts

( . must to specify file)
# 3  
Old 10-14-2009
PHP

Thanks sumathi.k, that's great.

Couple of questions. Because this is a NIM backup and hence sitting on an entirely different server (the NIM server), would you recommend creating a "restore area" on the NIM server for single file/directory restores then FTP'ing those files over to the server they came from? Or is it possible to directly restore from the server those files came from, effectively over the network?

Also you said this is for mksysb restores but does this also work with savevg images?

Thanks again.
# 4  
Old 10-15-2009
Hi TBS,

Depends on what control you have over the environment...

If you are root everywhere then probably it will be easiest to NFS export the mksysb / savevg on the p620 and mount it up on the client and then do all the work on the client over the NFS mount.

If you have restrictions with NFS exports then restore it on the p620 to a tmp directory and ftp / scp / etc. to the client.

Savevg is just the same as a mksysb but without all the boot info, they both use the backup command under the covers so you can list / restore just the same.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Disabling cron after NIM restore

Hi Guys, We normally have a backup and restore nightly on our Prod machines. We do this via customized script and all unattended. The dilemma that I'm having is the disabling of the cron after the restore. I created a nim script to disable the cron after the restore has been completed. But... (6 Replies)
Discussion started by: kaelu26
6 Replies

2. AIX

Is there any possibilty to restore backup taken with backupby file name to any other filesystem

Hi, I have taken a backup of filesystem " /backup " by using backupby file name command on tape Mount volume 1 on /dev/rmt0. Press Enter to continue. Backing up to /dev/rmt0. Cluster 51200 bytes (100 blocks). Volume 1 on /dev/rmt0 a 0 /backup a 543 /backup/abc_log ... (3 Replies)
Discussion started by: m_raheelahmed
3 Replies

3. AIX

NIM Restore hangs at the start

Hello Gurus, I have a couple of questions, I'm trying to do a mksysb restore from backup and it has just hung at the start. RS/6000 Firmware Version TCP05287 (c) Copyright IBM Corp. 2000 All rights reserved. -------------------------------------------------------------------------------... (8 Replies)
Discussion started by: elcounto
8 Replies

4. Solaris

how to restore backup from veritas vm in ufs file system

Hi all I have a DLT tape in that tape backup is there is in veritas volume format and i want to restore it in ufs file system how can i do it? right now i don't have veritas file system setup. i have only ufs file sysytem please help some production data is to be restore. backup was taken... (0 Replies)
Discussion started by: nikhil kasar
0 Replies

5. AIX

VIO restore from NIM dosen't work

Hello guys I have been trying to restore a VIO server from NIM using the nim_resource.tar file created from the same VIO lpar. The restoration goes fine and after 99% I get the following error 0516-304 putlvodm: Unable to find device id 000b5f62263b70a50000000000000000 in the Device... (1 Reply)
Discussion started by: balaji_prk
1 Replies

6. AIX

backup NIM client

Hello everyone I would like to hear your opinions about this procedure to backup a client to my nim master 1.-I got a cron that make a mksysb from x machine 2.-This mksysb I send by ftp to my nim master. 3.-When I got it in the nim master machine. I create a mksysb resource from this... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

7. AIX

help with NIM backup error

Hello all.... I am trying to backup a client from the NIM master. While doing so, I get this error: backup: 0511-089 can not open /tmp/6282.mnt0/<hostname>_mksysb_<date> 0042-001 m_mkbosi: processing error encountered on client 0042-001 m_mkbosi: processing error encountered on master... (0 Replies)
Discussion started by: solaix14
0 Replies

8. AIX

NIM client mksysb restore

Can a NIM client mksysb restore be performed via NIM (smitty nim) without the NIM client machine having the NIM server's IP and hostname in its /etc/hosts file? (10 Replies)
Discussion started by: kah00na
10 Replies

9. AIX

How to backup and restore Linux uisng NIM.

Hi Friends, I've a hard question to ask. I have a NIM server running on AIX 5.3. Now my requirement is that , " From This NIM Server i would like to take the Image of Linux servers ". I mean that using NIM server i should be able to backup / restore the linux Servers. In Simple terms... (3 Replies)
Discussion started by: rdkumarj
3 Replies

10. AIX

Backup single large file

Hi I have a single large file 11gb that I need to copy/backup to tape then restore on another system. I tried tar but that complained about the file being too large Anyone have any suggestions how I can do this with AIX 5.2 Much appreciated. (3 Replies)
Discussion started by: Alvescot
3 Replies
Login or Register to Ask a Question