I created a regular backup script that only supports specific 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 30 minutes and then gives me the following error
gzip: stdout: File too large
Any other solutions that I can use to back up my files using shell scripts or to solve this problem? I am grateful for any help.
source
share