Linux – zip I/O error: File too large zip error: Output file write failure (write error on zip file)

compressionlinux

I have a simple backup server that rsyncs several network shares and then compresses them into a zip file that is loaded onto tapes.

zip -r /media/1tb/backup/compressed/reports.zip /media/1tb/backup/nightly/reports/

And about half way through i get

adding:
media/1tb/backup/nightly/reports/active/aa010aq/rpts.2009.12.15/aa010aq.datzip 
I/O error: File too large

zip error: Output file write failure (write error on zip file)

This is on a standard ubuntu server.

Best Answer

Which version of zip are you using? You need at least 3.0 to support Zip64 (which is required for creating archives larger than 4GB).