How can I do that? I don't want to make full backup, only databases.
In if its possible so only a specific database. (and I must that it will be transfered via FTP to another server)
scsi, thank you!!
bash wasn't even installed.
Now everything is working perfect
backup sql, gzip it, transfer it to another server via FTP + removing the old backups!
I am having a problem again
when I am running the script manually from SSH --> /home/USER/mysqlbackup.sh
Everything is working fine and the size of the backup is 160MB (gzipped).
But now I've added this script to a cronjob in the DA panel and it doesn't giving me a full backup, it looks like its stopping the mysqldump command in the middle, the backup is only about 70MB (gzipped) ...
due to these facts I am sure the problem is in the cronjobs but I dont know how to fix that, help me please.