LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-29-2010, 04:29 PM   #1
Registered: Oct 2009
Location: Japan
Distribution: Arch, Debian, Slackware
Posts: 994

Rep: Reputation: 94
Creating Multi volume tar files...


I have a full snapshot of ArchLinux Repo for x86_64

I want to use this as my restore backup should I need to reinstall Arch without network support.

How do I build several *tar volumes of my /mount/my_repo to fit into 4.5GB DVDs ... the thing is 18 GB size...

How do I extract all the *tar created to a folder later on...? is it the same as extracting a single *tar, will tar find all volumes in the same directory level so as to continue extracing or do I need to merge them in some way...?



Last edited by Alexvader; 05-29-2010 at 08:10 PM.
Old 05-30-2010, 12:53 AM   #2
LQ Guru
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
tar has no built in ability to split an archive into multiple pieces. The accepted solution is to use "split" and cut the .tar file into smaller pieces. Here is a blog entry on about it which describes the process pretty well:

I have also heard of a tool called dar which is designed to do exactly what you want, backup a system to multiple removable media. I have not personally used it though.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Slack 10.0 GNU tar --multi-volume on LTO-3 doesn't verify for me petcherd Slackware 13 01-07-2008 07:34 AM
tar multi-volume (-M): how to specify size? jhwilliams Linux - Software 1 08-16-2007 08:39 PM
creating tar files with high data integrity edman007 Linux - Software 13 10-10-2006 03:00 PM
multi-volume tar exodist Linux - Software 11 01-18-2005 04:32 AM
Multi-Volume tar(1) archive on CDR ViragoRider Linux - Software 0 05-14-2004 02:45 PM

All times are GMT -5. The time now is 03:55 AM.

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