How do i Restore a backed up file ?

  • vish64
  • Novice
  • Novice
  • vish64
  • Posts: 23
  • Loc: USA

Post 3+ Months Ago

Hi ,

I have an exabyte tape drive & am using a perl script to back up the files on the drive. I am on a Sun Solaris machine v8.

How would I restore a certain file that I might have accidently deleted from the hard drive ? I just had a full back up on Friday So i would have it on the tape.

Thanks,
Vishal
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • vish64
  • Novice
  • Novice
  • vish64
  • Posts: 23
  • Loc: USA

Post 3+ Months Ago

To Add,

The file would be a tar file, so I can untar that no problem.

But i need to mount the tape drive first .... im not sure how to do that . Can someone guide me ? & then I tar -xvf the file how ?

Thanks,
V
  • Daemonguy
  • Moderator
  • Web Master
  • User avatar
  • Posts: 2700
  • Loc: Somewhere outside the box in Sarasota, FL.

Post 3+ Months Ago

ufsrestore command is what I always used.
As an example;
ufsrestore f /dev/rmt/1 /etc/passwd /etc/default

Would restore the etc/passwd file, and the etc/default dir.

Cheers.

Post Information

  • Total Posts in this topic: 3 posts
  • Users browsing this forum: No registered users and 17 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.