file grouping & compression

Custom / CUSTOM
March 2, 2010 at 12:42:22
Specs: Microsoft Windows XP Professional, 2.401 GHz / 2047 MB
I was just wondering what tools you can use if you want to make a backup of directory structure, with all of the below features being supported:

1. Ownership respected (files belong to different unix users)
2. All links (staying inside the beholded structure) being respected (hard and softlinks)
3. File permissions

I seem to understand that the universal ZIP format (as used by GNU zip and gzip) does not support nr. 1 and 3 ?!


See More: file grouping & compression

Report •

#1
March 2, 2010 at 13:09:28
tar and then zip (bz) I believe would work.

Playing to the angels
Les Paul (1915-2009)


Report •

#2
March 2, 2010 at 14:12:48
TAR definately would, the other (BZ) I must check. Will keep you up to date. Tried TAR earlier (I mean, I tried before on other systems, know that it works), but I got all kind of binary info scrolling over my screen. Not sure what was happening there.

Report •

#3
March 2, 2010 at 18:15:13
I mean tar then bz (bzip or bz2 or 7zip or gz or archive) the tar'ed file. You can do that in one step.

Playing to the angels
Les Paul (1915-2009)


Report •

Related Solutions

#4
March 3, 2010 at 02:17:29
Ah OK, I thought you meant BZ instead of TAR, but I get it now.

And what about the extra option, which is dividing up the files into smaller parts ? Tried with TAR itself (no compression) and that did not seem to work.


Report •

#5
March 3, 2010 at 13:31:25
It is an option of some of of the compression programs. Like set each part to some size until the task is done. Depends on compression app.

Playing to the angels
Les Paul (1915-2009)


Report •

#6
March 5, 2010 at 02:40:30
The TAR built-in compression programs (GZIP and COMPRESS in my version of TAR) do not allow spreading of files. I'm currently planning doing this:

1. TAR
2. GZIP
3. SPLIT


Report •

Ask Question