It works fine when I start it manually. When i put it in crontab, I get the following error:
mysqldump: Couldn't execute 'SHOW TRIGGERS LIKE 'data\_29'': Got error 28 from storage engine (1030)
I reasearched that error 28 means there is not enough storage. That was the case but i free up some space and I'm still getting this error. Also under crontab the backup file is nearly half the size.
To take a backup and compress the file in one line of code do this
Open in new window
This will compress your backup as much as possible on the fly and save storage.
Regards,
Tomas Helgi