Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 03-18-2009, 10:00 PM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
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, 04:25 AM   #2
Senior Member
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,285

Rep: Reputation: 61
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.


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

All times are GMT -5. The time now is 09:16 PM.

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