4.3.3 restore from file


 
Thread Tools Search this Thread
Operating Systems AIX 4.3.3 restore from file
# 1  
Old 11-14-2007
4.3.3 restore from file

I had a hard drive fail and am trying to restore a system backup from a file I created about two years ago. At the time I did not have a tape device to use nor a writeable CD drive so I just backed up the machine to a NFS drive. When I created the backup, I used it to set up another machine with the same configuration and it worked so I am pretty sure it is a valid backup. Now I cannot find the documentation I used to perform the backup (to see what I did) nor the info I used to restore the backup to another machine. Any ideas of how this might work? I have searched around for a how-to but have not found one.
# 2  
Old 11-14-2007
Did you create the backup with

cpio?

tar?

backup?

mksysb?

This is as good a start as any... IBM Wikis - AIX 5L Wiki - AIXV53Backup
# 3  
Old 11-14-2007
I used mksysb to direct the backup to a file instead of a tape... I was able to get the restore work for the most part when I increased the size of my /usr filesystem to handle the data being restored. Now the machine boots up fine but there is a problem with the tcpip. When the machine booted up it came up with the correct name but incorrect ip address, I used both smitty and mktcpip to change the ip address and I got this error:

# mktcpip -h 'catia16' -a '192.168.8.116' -m '255.255.255.0' -i 'en0' -t 'N/A'
en0
catia16
Method error (/usr/lib/methods/chginet):
0514-068 Cause not known.
exec(): 0509-036 Cannot load program /usr/lib/methods/chginet because of the following errors:
0509-130 Symbol resolution failed for chginet because:
0509-136 Symbol __which_res_state (number 35) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.

mktcpip: Problem with command: chdev
, return code = 1

what is causing this? I changed the ip address and name in the /etc/hosts and it seems to be fine but I would like to be able to change within smitty or by changing parameters with mktcpip at the command line. All NFS mount work, I can telnet to it, and all other communication seems fine.
# 4  
Old 11-14-2007
Quote:
Originally Posted by SeanU
exec(): 0509-036 Cannot load program /usr/lib/methods/chginet because of the following errors:
0509-130 Symbol resolution failed for chginet because:
0509-136 Symbol __which_res_state (number 35) is not exported from
dependent module /usr/lib/libc.a(shr.o).
0509-192 Examine .loader section symbols with the
'dump -Tv' command.
This is *not* an authoriative answer, but that makes me think there is a binary mismatch, you may need to apply some patches to update libc.

Have you checked the uname and oslevel of what you think you have restored?
# 5  
Old 11-15-2007
uname -a
AIX catia16 3 4 0003525F4C00
oslevel
4.3.3.0

Which is what I expect to see. However I was wrong when I said I could telnet to it. I cannot telnet or ping either to or from. I will try to use some of ML software I have to see if I can patch up the libc software.
# 6  
Old 11-21-2007
Solution!

Just to close this out, this is what I ended up doing:

1. Installed Base 4.3.3 OS to get machine up and running.
2. Downloaded and installed firmware update for CDROM
3. Used network mounts to get OS ML up to 11.
4. Transferred backup image from old machine to CD
5. Brought new machine down to maintenance shell
6. Created CDROM file system.
7. Mounted cdrom and restored backup image onto new machine.
8. Rebooted new machine, updated /etc/hosts file, tested network communication (ping, telnet and ftp) and then reinstalled software to get machine back up to ML11.

Machine works fine and was deployed to end user this morning.
# 7  
Old 11-21-2007
Quote:
Originally Posted by SeanU
Machine works fine and was deployed to end user this morning.
Excellent, thanks for posting your eventual fix as well. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

File system restore

Hello, I have a big trouble with SCO Open Server. After improper shutdown the file system has damaged. I can see the partitions as volume sizes with divvy command, but the labels are missing (boot, root, etc), so I can not address them when using fsck command. Is there any chance to restore the... (2 Replies)
Discussion started by: ikonoma
2 Replies

2. UNIX for Dummies Questions & Answers

restore cpio file

Hi, under unix aix , i had to put a catostrophic patch from an editor ... i had first made a cpio backup connected root cd /application find . –print | cpio –ocvBm > /sauvegarde/sauvegarde.cpio Does someone know the command to restore my cpio backup ? thanks in advandce to everyone ... (7 Replies)
Discussion started by: bzh35
7 Replies

3. Solaris

restore kernel file

Hi iam new to solaris .if any file lost in kernel how can we retrive that.any one can help me. Thank you for ur reply (3 Replies)
Discussion started by: sivajerripothul
3 Replies

4. Shell Programming and Scripting

restore deleted file

I accidently deleted the files from linux machine. How to restore back the files. (1 Reply)
Discussion started by: sandy1028
1 Replies

5. Ubuntu

How can I restore a file?

Hello! I deleted the disk of my camera by rm, and I need to restore these files. I cannot do it by unrm because that utility is meant for use in ext/ufs filesystem, and that disk is msdosfs. Someone help me! Thanks for any answer! (4 Replies)
Discussion started by: mghis
4 Replies

6. AIX

mksysb restore - Wrong OS level for restore

Hi all, I am still working on my mksysb restore. My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored. 0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies

7. UNIX for Dummies Questions & Answers

How to restore splitted DD file

I backup a file to tape by using "dd", since the size is too large it took two tape for the backup, the question is how to restore the said file? The "dd" doesn't ask me insert next tape while restoration. (3 Replies)
Discussion started by: coolmans
3 Replies

8. Linux

how can i restore a deleted file

I am a relatively new linux user.would like to know how to undo a deleted file (2 Replies)
Discussion started by: wojtyla
2 Replies

9. Solaris

tar - restore a file

We use tar for backing up a server. I need to restore just one file from this backup. Anyone know the syntax? (2 Replies)
Discussion started by: frustrated1
2 Replies

10. UNIX for Advanced & Expert Users

How do I restore the etc/shadow file

removed this from a friends solaris box via telnet. root can not login at this point is there anyway to fix this via telnet. I have one session open that is not root (2 Replies)
Discussion started by: Youngadmin
2 Replies
Login or Register to Ask a Question