admin backup problem

Reppy

New member
Joined
Feb 26, 2010
Messages
3
Ok, here is the issue i am having and i just cant for the life of me work it out.

I had 1 server, all setup and backups worked perfect, then time to upgrade, so needed to move servers. i ran admin backup's, copied them to new server, and then restored them to new server. all good, working and up and running, but now if i run an admin backup, it comes back with this error for each user account that has a database, and for each database.

Error while backing up database XXXX_DB1
Error while backing up database XXXX_DB1: The sql file is 0 bytes in size: /home/admin/admin_backups/XXXXX/backup/XXXX_DB1.sql
mysqldump error output: mysqldump: ambiguous option '--all' (all-databases, allow-keywords)

any help of sovling this would be great.

Regards
 
Try repair all databases:

Code:
/usr/bin/mysqlcheck --defaults-extra-file=/usr/local/directadmin/conf/my.cnf --auto-repair --optimize --all-databases

Regards
 
i had already done repairs on a few of the DB's, but ran that, still the same :(
 
Back
Top