PDA

View Full Version : Help with tar, Anyone know the correct command to make a segmented tar file?


Cleo
2004-06-04, 06:40 PM
I'm moving a bit over 10 gigs from server to server.

Problem is when I go to tar the directory it seems to get stuck at 2 gigs.

Seems like there should be a way to have it make segment.

I tried
tar -L2000000 -cf archive.tar directoryname

But this seems to want me to insert the next tape after it finishes the first segment.

Anyone know the correct command to make a segmented tar file?

DangerDave
2004-06-04, 07:07 PM
not sure on that one Cleo?

maybe the k modifier - limits K size ?

DD

Cleo
2004-06-04, 07:29 PM
I tired the -k but it didn't seem to work.

It sure would be easier if it would just let me create a 10 gig tarball. LOL

Cleo
2004-06-05, 10:16 AM
Amazing what a night's sleep does for one's mind. LOL

df -k

The reason that I can't make a tarball big enough is there is only just over 2 gigs free on the drive.

Now what…

DangerDave
2004-06-05, 05:42 PM
|banghead| doh! of course... I knew that! :D

DD

Cleo
2004-06-05, 06:28 PM
This seems to be working. Amber found a page on the scp command and posted it in this morning's coffee thread.

scp -r UERSNAME@foxyangel.com:DIRECTORYTOGET DIRECTORYONMESERVER/NEWHOME

It has been going since this morning. On a 2 gig file it was doing just under 6 megs per second but on these little html and jpg files I'm only getting a bit over 1 meg per second but it is transferring the whole domain to one of my servers for safe keeping until M3 Server gets her new dedicated server online.

The whole site was done in fucking frontpage and has duplicates of duplicates of duplicates with files thrown all over the pace and in directories all over the place. It looks like someone got drunk and puked a web site.

Luna is going to be doing the web work on this domain once the new server is up and running sometime next week. I'm glad that I'm not her. LOL

amber438
2004-06-06, 12:07 PM
Glad I could help..
Hope all is well with it

|bananna| |bananna|

PS..Homesite does a very nice job fixing fronpage html..not that anything short of handcoding will totally fix it, but it's a start..it gets rid of a lot of the junk..

Cleo
2004-06-06, 12:15 PM
The pages aren't so bad other then they all have no right click code in them. The real problem is the way Frontpage manages a site and leaves copies and copies and stuff all over the place.