LinuxQuestions.org
Visit Jeremy's Blog.
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 10-31-2007, 02:28 AM   #1
mhtan88
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Rep: Reputation: 0
how to use tar command to backup one large file in different tapes?


hi all,

I have a problem on backing up a very large file size with 50G byte.
but, one backup tape can not fullfil in one tape. therefore,
i have to use a different tapes. may i know what is the command to enable it to able to backup in separate tape continues?

currently i'm using:

tar -zcvf /dev/st0 /backup


Thank you.

Regards,
Tan
 
Old 10-31-2007, 03:56 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Hi,

And welcome to LQ!

Have a good look at man tar; specifically the -M flag.



Cheers,
Tink
 
Old 11-01-2007, 12:21 AM   #3
mhtan88
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
is that
tar -zcvfM /dev/st0 /backup
?
after the first tape is full. then it will ask for second tape?


Thx
 
Old 11-01-2007, 01:19 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,962
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Almost ... the order in this case is (I believe) significant.

tar -zcvMf /dev/st0 /backup


And yes, it will prompt for the second tape.



Cheers,
Tink
 
Old 11-02-2007, 01:25 AM   #5
mhtan88
LQ Newbie
 
Registered: Oct 2007
Posts: 3

Original Poster
Rep: Reputation: 0
hi Tinkster,

thank you.

Regards,
 
  


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
Incremental Backup (tar command) maginotjr Slackware 4 07-21-2005 01:04 AM
Large file DVD backup question labratmatt Linux - Software 3 01-08-2005 11:07 PM
large tar backup file to be burn stefane321 Linux - General 2 07-01-2004 02:33 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 07:45 AM
splitting large tar file derfberg Linux - Newbie 1 01-08-2003 07:44 PM


All times are GMT -5. The time now is 06:07 PM.

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