LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-18-2009, 09:00 PM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
backup commnad


I use cpio -ocBav to backup file to the tape , it seems ok to backup the file , but I tried to use the command cpio -icBvt '*' < /dev/st0 to list the file to be backup , it pops error " cpio: read error: No medium found " , I wonder why I can backup file to /dev/st0 , but can't list it out ? is it because I use the wrong command ? besides , if I want to restore the file from the tape , what can i do ? thx
 
Old 03-19-2009, 03:25 AM   #2
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: Custom Debian Live ISO's
Posts: 1,291

Rep: Reputation: 62
I think it might be because /dev/st0 is a block device, this is why you can backup to it, but not list it. Unfortunatley I don't use cpio so I could tell you how to restore it, I use tar and gzip for my backups.
 
  


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
Problem in using sed commnad in bash program. ASRaj Programming 5 03-17-2008 05:09 AM
commnad time execution caprianking2002 Linux - General 2 06-27-2006 03:01 AM
help me to write wget commnad in .bash_profile squirrel001 Linux - Newbie 3 06-20-2006 04:37 AM
source code of fdisk commnad arunka Programming 1 03-05-2006 10:10 PM
locate a commnad zchoyt Linux - Software 7 04-14-2005 02:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 AM.

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
Open Source Consulting | Domain Registration