LinuxQuestions.org
Help answer threads with 0 replies.
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, 03: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, 04:56 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Hi,

And welcome to LQ!

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



Cheers,
Tink
 
Old 11-01-2007, 01: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, 02:19 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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, 02: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 02:04 AM
Large file DVD backup question labratmatt Linux - Software 3 01-09-2005 12:07 AM
large tar backup file to be burn stefane321 Linux - General 2 07-01-2004 03:33 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 08:45 AM
splitting large tar file derfberg Linux - Newbie 1 01-08-2003 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration