Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-07-2009, 09:16 PM   #1
Senior Member
Registered: Mar 2003
Location: fasdf
Distribution: Debian / Suse /RHEL
Posts: 1,130

Rep: Reputation: 31
Backup command

I would like to use cpio to write file to backup tape , I tried to use man to find the parameter but still can't find anthing ..

Can advise if I want to format / erase the file in the tape before backup , what can i do ? if I DO not want the tape to be ejected from the drvie after backup , what can i do ? thx in advance.
Old 06-08-2009, 07:31 AM   #2
Senior Member
Registered: Aug 2007
Location: Massachusetts, USA
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197

Rep: Reputation: 105Reputation: 105
You want the mt command -- `man mt`. Assuming your tape drive is st0, you will have additional device names going to the same drive. nst0 will be the non-rewinding version of the tape drive. If you use that, it will not rewind after each operation. The tape shouldn't eject unless specifically requested.

`mt -f /dev/nst0 status`, or just `mt status` should tell you what's up with the drive. If you want to erase, `mt -f /dev/nst0 erase`.

Last edited by choogendyk; 06-08-2009 at 08:29 AM.


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
Backup using dd command pnmanojshenoy Linux - Newbie 9 07-09-2008 10:04 AM
Backup Command in HP-UX sunram Other *NIX 5 05-05-2008 12:54 PM
About cp command for backup purpose satimis Linux - General 4 08-24-2006 05:24 AM
Backup and Restore Command jimmete Amigo 4 06-07-2006 08:02 PM
backup command ust Linux - General 1 03-16-2004 12:34 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:31 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
Open Source Consulting | Domain Registration