LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-23-2005, 08:46 PM   #1
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Rep: Reputation: 15
massive tar file, can't untar


hi all

i am trying to tar up my web server directory
which ends up being around 13GB

using ssh
but when i try to untar it on another server
it takes up heaps of cpu and memory
and then eventually the ssh connection drops out
and the tar just quits

is there anyway i can get around this?
like tar into several archives and then merge them on untar

thanks
dave
 
Old 05-23-2005, 08:49 PM   #2
mherring02
Member
 
Registered: May 2005
Location: Pasadena, CA
Distribution: Ubuntu, Fedora
Posts: 50

Rep: Reputation: 15
I'm not expert in TAR, but I would generally avoid handling anything in bites that big. Too many different issues can get you.

What's the downside of moving 3-4 "tarballs" rather than 1?
 
Old 05-23-2005, 09:15 PM   #3
dtra
Member
 
Registered: Nov 2004
Distribution: fc4
Posts: 104

Original Poster
Rep: Reputation: 15
hey, thanks for your reply
that's what i'm asking
is it possible to run something like
tar -cf -split 500MB file%d.tar

and end up with like file01.tar, file02.tar, file03.tar, file04.tar
then use something like tar xf -join file01.tar file02.tar file03.tar file04.tar

to join them all back together untarred
 
Old 09-08-2011, 05:32 AM   #4
mulyadi.santosa
Member
 
Registered: Sep 2011
Posts: 96

Rep: Reputation: 15
Hi...

Sorry to resurrect such an old thread....

maybe the problem is that ssh can't cope with such a big memory allocation. So, how about doing that not inside ssh? maybe programs like dtach, screen, or tmux could help here.

Quote:
Originally Posted by dtra View Post
hey, thanks for your reply
that's what i'm asking
is it possible to run something like
tar -cf -split 500MB file%d.tar

and end up with like file01.tar, file02.tar, file03.tar, file04.tar
then use something like tar xf -join file01.tar file02.tar file03.tar file04.tar

to join them all back together untarred
 
  


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
untar a list of tar files? Rotwang Linux - General 6 10-10-2006 02:34 PM
Getting problem when untar the .tar.gz file? ramakumard77 Linux - General 2 11-29-2004 12:15 PM
How to unzip and untar a xxx.tar.gzip.part file> linuxharsha Linux - Software 8 02-15-2004 05:27 AM
How to untar and unzip .tar.gzip.part file? linuxharsha Linux - Software 2 02-14-2004 11:37 AM
Untar filename.tar.tar Dr.Swing Linux - Newbie 12 09-27-2002 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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