LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   bacup command (https://www.linuxquestions.org/questions/linux-newbie-8/bacup-command-726696/)

ust 05-18-2009 01:43 AM

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

jan61 05-18-2009 03:27 PM

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

ust 05-19-2009 02:41 AM

Quote:

Originally Posted by jan61 (Post 3545033)
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

jan61 05-19-2009 01:42 PM

Moin,

Quote:

Originally Posted by ust (Post 3545492)
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


All times are GMT -5. The time now is 06:47 AM.