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 05-18-2009, 02:43 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 30
bacup command


I would like to use the cpio to backup files , can advise if I want to eject the tape after backup , what is the parameter ? thx
 
Old 05-18-2009, 04:27 PM   #2
jan61
Member
 
Registered: Jun 2008
Posts: 235

Rep: Reputation: 46
Moin,

it was quite a long time ago, when I last used cpio to backup to a tape ;-) But in my /dev/brain I found the command "mt" to control a tape drive. The eject can't be done by cpio itself, if I remember correctly. So you have to combine the commands:
Code:
find ... | cpio ... && mt [-f device] erase
Jan
 
Old 05-19-2009, 03:41 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by jan61 View Post
Moin,

it was quite a long time ago, when I last used cpio to backup to a tape ;-) But in my /dev/brain I found the command "mt" to control a tape drive. The eject can't be done by cpio itself, if I remember correctly. So you have to combine the commands:
Code:
find ... | cpio ... && mt [-f device] erase
Jan
except use mt command , does cpio have parameter to do that ? thx
 
Old 05-19-2009, 02:42 PM   #4
jan61
Member
 
Registered: Jun 2008
Posts: 235

Rep: Reputation: 46
Moin,

Quote:
Originally Posted by ust View Post
except use mt command , does cpio have parameter to do that ? thx
from my post:
Quote:
The eject can't be done by cpio itself, if I remember correctly.
Jan
 
  


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
Is there a single command to list all hardware installed (command line)? davee Linux - Hardware 6 02-28-2009 08:19 PM
LXer: The Linux Command Shell For Beginners: Fear Not The Command Line! LXer Syndicated Linux News 0 12-22-2008 07:30 PM
Turning a Ruby on Rails Ubuntu command into a Redhat command Mangalaiii Red Hat 1 12-02-2008 04:37 PM
Bacup domains (to an any server) halvorls Linux - Server 1 06-08-2008 05:06 PM
How can I combine three different bacup folders without loosing data commandante Linux - Desktop 3 05-31-2007 12:11 AM


All times are GMT -5. The time now is 07:58 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