gzip: stdout: File too large when running customized backup script

Posted by Roland on Stack Overflow See other posts from Stack Overflow or by Roland
Published on 2010-04-23T15:45:47Z Indexed on 2010/04/23 16:33 UTC
Read the original article Hit count: 597

Filed under:
|

I've create a plain and siple backup script that only backs up certain files and folders.

tar -zcf $DIRECTORY/var.www.tar.gz /var/www
tar -zcf $DIRECTORY/development.tar.gz /development
tar -zcf $DIRECTORY/home.tar.gz /home

Now this script runs for about 30mins then gives me the following error

gzip: stdout: File too large

Any other solutions that I can use to backup my files using shell scripting or a way to solve this error? I'm grateful for any help.

© Stack Overflow or respective owner

Related posts about bash

Related posts about shell