Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-06-2012, 10:57 AM   #1
LQ Newbie
Registered: Apr 2012
Posts: 11

Rep: Reputation: Disabled
Backups (mt command)


I have a lto-4 tape drive that works but I have some questions on the MT command.

I can write to it - tar -czf /dev/st0 /blah

So once that is done, is there something to mark that spot on the tape? Can I write something else or do you have to use one command to write everything? Is there a way to see how much space you have left?

Old 10-08-2012, 08:00 AM   #2
Senior Member
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,451

Rep: Reputation: 891Reputation: 891Reputation: 891Reputation: 891Reputation: 891Reputation: 891Reputation: 891
If you write to st0 then the tape will rewind once the tar finishes. You can use nst0 which will stop the tape rewinding. As regarding finding remaining space etc. might be worth looking at backup software instead.

My preference is to tar with a full list of folders that I want on the tape rather than doing appends etc.


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
Command line sending of mail attachments ( DB backups) gamorgan Linux - Newbie 7 12-19-2010 03:16 AM
Help with rsync command (or script) multiple file backups luis14 Linux - Software 3 11-08-2007 10:07 PM
LXer: Taking backups using tar command in Linux and unix LXer Syndicated Linux News 0 04-18-2006 10:03 AM
security for backups (tar command) wedgeworth Linux - Software 1 03-18-2004 11:00 AM
dd command for backups tgardner Linux - Software 1 08-19-2003 03:43 AM > Forums > Linux Forums > Linux - Server

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