![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| steps to ufsrestore | vr76413 | SUN Solaris | 1 | 11-14-2006 10:55 PM |
| ufsrestore stops | spacewalker | SUN Solaris | 1 | 04-28-2006 03:46 AM |
| ufsrestore? | ECBROWN | SUN Solaris | 3 | 03-15-2006 09:05 AM |
| ufsrestore problem | dredarrow | SUN Solaris | 5 | 02-07-2006 06:25 AM |
| ufsrestore | S26+ | SUN Solaris | 1 | 03-07-2005 12:17 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi there,
I have a problem at the moment trying to restore a directory from a Super DLT tape with about 3 weeks worth of backups on it. I need to be able to get the last backup performed on this tape but using ufsrestore -i it only restores the first backup which is no good to me. There is no archive file associated with this tape. I am using ufsrestore -i to restore the files. My question is would there be any way I could specify the backup date I need from the tape using ufsrestore (or any other command) without the use of an archive file? The system is running Solaris version 8. Thanks for your help. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
You can use the mt command (check the man page) and the fsf option to "file skip forward" to get to the last backup.
Make sure your device is one with the norewind # /usr/bin/mt -f /dev/rmt/0n fsf 2 This would skip the first two ufsdumps and go to the begining of the third. If you don't know how many dumps are on it, then you will have to do this and start counting. It may take you awhile and you will have to find the number and then rewind and do a fsf to the number you found (since you would go beyond the end of the one you wanted while searching for how many are actually on the tape). |
|
#3
|
|||
|
|||
|
That's great RTM. I will get to try that tomorrow and let you know how I got on. Your help is much appreciated.
|
|
#4
|
|||
|
|||
|
ufsrestore -ivfs /dev/your/tape/drive # (# here starts at 1 not 0)
the # is the location of the data on the tape. so if you run lets say 5 backups on 1 non rewinding tape. then you would substitute the # with a 5. |
|
#5
|
|||
|
|||
|
Thanks RTM/Optimus_P for your help. I tried /usr/bin/mt -f /dev/rmt/0n fsf # and it worked. I'll keep both methods handy though. Thanks again.
|
|||
| Google The UNIX and Linux Forums |