Click to See Complete Forum and Search --> : Limiting archive size


jahall
08-27-2001, 05:01 PM
I am using tar to backup user directories. Is there anyway to limit the size of the archive that is created and when that limit is reached, start another archive automatically? Or, is this something that I would need to write a script for?

I am saving the data to CD-R's and would like to keep the archive size about 600 MB.

Thanks in advance for your assitance.

Jay

Choozo
08-27-2001, 05:26 PM
By checking the man pages for tar (man tar), the following may be used?
-L, --tape-length N
change tapes after writing N*1024 bytes
You may have to experiment with this a bit though. Start with a small value for 'N' and see what happens.

Cheers :)