Restore command


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Restore command
# 1  
Old 10-04-2004
Restore command

Does the restore command run very very slow? I am trying to do restore some files, there is practically nobody else on the system. System is idle 99% of the time, but still my files are not found yet. I have been running this command for almost 6 hours. We have an AIX/UNIX 5.1 machine. The command I used is
restore -xvqf /dev/rmt0 /db/uci/xxx* where "xxx" is the prefix for my filenames. I am in '/db/uci' directory.

Is there a better way to restore files? Also, is there any way to find out where the job is currently?

Thank you in advance.
Latha Nair
# 2  
Old 10-04-2004
restore will be tape bound, so it's no surprise that the cpu is idle. You should try practice restores at least once a month so you know what to expect. How long do dumps take? That should give you some idea. I don't know AIX, but you should look at whatever file might log tape errors. /var/adm/messages maybe? Are you getting read errors? Recoverable read errors send tape performance downhill. Have you cleaned your tape heads recently? Maybe they need it. And look at the tape drive...is it moving tape?

Unless you're getting a ton of errors, the best move might be to go home and come back tomorrow to see where you are.
# 3  
Old 10-04-2004
There are no read errors being reported. I checked the error report. I can't go home yet... I have to start another as soon as this one is done. I guess all I can do is wait.

Thanks for the reply.
# 4  
Old 10-07-2004
Is it a tar or cpio backup. Because "restore" is more effective or can be used only with cpio. On the otherhand, if you have used "tar" then the syntax may change. You can use "tar xvf".

raguram R
# 5  
Old 10-07-2004
Or else try this

restore -xvqf /dev/rmt0 xxx*

from your /db/uci directory.


raguram R
# 6  
Old 10-07-2004
Quote:
Originally posted by raguramtgr
Or else try this

restore -xvqf /dev/rmt0 xxx*

from your /db/uci directory.


raguram R
Our vendor was also trying to solve this problem, it seems like they talked with IBM, and the solution seems to be that we needed quotes around the 'wild card' filenames. I was able to restore the entire directory thru 'smit'.

Thank you for your post.
Latha
 
Login or Register to Ask a Question

Previous Thread | Next Thread

4 More Discussions You Might Find Interesting

1. Emergency UNIX and Linux Support

DD command to backup and restore

Hi, Currently I have 2 servers. 1 is already installed with RHEL4(withmyapplications) and the other one is still brand new. My question is, is it possible to use DD command to backup the whole harddrive for the RHEL4 server and restore it to the new brand server so that I do not have to... (3 Replies)
Discussion started by: flekzout
3 Replies

2. Filesystems, Disks and Memory

Restore Command

How can I tell the restore command to restore my files to another directory than the one archived? I want to restore a directory to a directory called temp and NOT its original location. (2 Replies)
Discussion started by: mojoman
2 Replies

3. 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

4. Red Hat

Dump and restore command usage ??

Hi, I am using RHEL 4.0 I need to take backup of a directory and then restore it to some other location. For taking Backup of final directory, I am using this code: dump -0aj -f /home/vicky/final.dump /home/vicky/final/ Now, I am trying to restore this final.dump to some other... (2 Replies)
Discussion started by: vikas027
2 Replies
Login or Register to Ask a Question