LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 01:43 AM   #1
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
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, 03:27 PM   #2
jan61
Member
 
Registered: Jun 2008
Posts: 235

Rep: Reputation: 47
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, 02:41 AM   #3
ust
Senior Member
 
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Original Poster
Rep: Reputation: 31
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, 01:42 PM   #4
jan61
Member
 
Registered: Jun 2008
Posts: 235

Rep: Reputation: 47
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



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

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

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