LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

Rep: Reputation: Disabled
Backups (mt command)


Hello,

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?

Thanks,
A
 
Old 10-08-2012, 08:00 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6
Posts: 1,529

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
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.
 
  


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
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


All times are GMT -5. The time now is 08:40 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration