I'm trying to create a backup from Godaddy's shared hosting envinronment for a friend. The sites entire file is about 2GB, and Godaddy doesn't support archiving files more than 20MB. The only option is to use server side tar.
Basically I'm facing a problem when Cron only does half it's job, only compressing up to 300MB out of 1GB+.
Here's the script I'm using,
#!/bin/bash
/bin/tar -cvzf $HOME/html/fullsite_test.tgz $HOME/html > $HOME/html/Out.log 2>&1
And here's what I filled in Godaddy's command,
"$HOME/html/backup.sh"
Does anyone know why it's not working as intended? I've even deal with the stderr and stdout, so I'm still not sure what's going on....
Note: $HOME is the absolute directory path of the account.