Tar mystification
Jul. 11th, 2007 08:46 pm![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
I am trying to backup a RAID array of some 100GB of stuff onto a FAT32 external hard drive.
I tried
tar -cvfz usbdrive/raid.tgz raid/
but it didn't like it. I also tried with 'j' instead of 'z' to use bzip2 instead of gzip. That created an archive called 'j' in the current directory.
So I dropped the compression switch altogether.
tar -cvf usbdrive/raid.tgz raid/
This worked but I forget one detail. FAT32 has a max file size of about 4G. So when the archive got to 4G, it barfed.
I see there's a parameter to change tapes, but I don't know if that allows me to create multi-segment archives. Can GNU tar do this? Break up the backup into lots of 4G chunks? Ideally, compressing them on the way? If so, how? I'm getting nowhere Googling for info...
I tried
tar -cvfz usbdrive/raid.tgz raid/
but it didn't like it. I also tried with 'j' instead of 'z' to use bzip2 instead of gzip. That created an archive called 'j' in the current directory.
So I dropped the compression switch altogether.
tar -cvf usbdrive/raid.tgz raid/
This worked but I forget one detail. FAT32 has a max file size of about 4G. So when the archive got to 4G, it barfed.
I see there's a parameter to change tapes, but I don't know if that allows me to create multi-segment archives. Can GNU tar do this? Break up the backup into lots of 4G chunks? Ideally, compressing them on the way? If so, how? I'm getting nowhere Googling for info...