LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2012, 09:45 PM   #16
Satyaveer Arya
Senior Member
 
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305

Code:
# tar -xzf /dev/st0 mybackupfolder
Exactly, the command you want to use is correct to restore the data.

But first you have to rewind the tape-

Code:
# cd /
# mt -f /dev/st0 rewind
# tar -xzf /dev/st0 mybackupfolder

Last edited by Satyaveer Arya; 04-26-2012 at 09:49 PM.
 
Old 04-26-2012, 10:26 PM   #17
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,205

Original Poster
Rep: Reputation: 197Reputation: 197
Wink

Quote:
Originally Posted by Satyaveer Arya View Post
Code:
# tar -xzf /dev/st0 mybackupfolder
Exactly, the command you want to use is correct to restore the data.

But first you have to rewind the tape-

Code:
# cd /
# mt -f /dev/st0 rewind
# tar -xzf /dev/st0 mybackupfolder
thanks buddy
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] can't debug with gdb: not in executable format: File format not recognized (squeeze) oddiofile Debian 1 08-24-2010 03:21 AM
[SOLVED] Simple Linux script to convert datetime format to UTC format shayno90 Linux - Newbie 10 10-09-2009 08:19 AM
digikam CRW raw plug in toneill Linux - Software 1 07-28-2007 08:05 AM
benq crw 4012 firmware upgrade brotkasten Linux - Hardware 0 12-09-2003 11:23 AM
Format Problems Saving Star Office Docs in Word Format kkempter Linux - Software 4 08-27-2003 04:23 PM


All times are GMT -5. The time now is 12:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration