Page 1 of 1

ERROR 1010 (HY000) Restoring Backup

PostPosted: Wed Oct 30, 2019 11:24 am
by rambertnala
I am trying to restore a backup but i get this error

Restoring MySQL databases...
ERROR 1010 (HY000) at line 22: Error dropping database (can't rmdir './nagios/' , errno: 17)

What can I do ????

Re: ERROR 1010 (HY000) Restoring Backup

PostPosted: Wed Oct 30, 2019 11:39 am
by rambertnala
Where can I download .ova version 5.4.13-64 to try to restore backup in a new machine...

New machine mut ne identical to first one??? Number of CPU's Memory etc...

Regards

Re: ERROR 1010 (HY000) Restoring Backup

PostPosted: Wed Oct 30, 2019 12:42 pm
by scottwilkerson
rambertnala wrote:I am trying to restore a backup but i get this error

Restoring MySQL databases...
ERROR 1010 (HY000) at line 22: Error dropping database (can't rmdir './nagios/' , errno: 17)

What can I do ????

Here you must have dome extra files in the directory, run
Code: Select all
rm -f /var/lib/mysql/nagios


then perform the restore

rambertnala wrote:Where can I download .ova version 5.4.13-64 to try to restore backup in a new machine...

New machine mut ne identical to first one??? Number of CPU's Memory etc...

Regards


You can download here, and the specs of the machine do not have to match the old machine
https://assets.nagios.com/downloads/nagiosxi/5/ovf/nagiosxi-5.4.13-64.ova

Re: ERROR 1010 (HY000) Restoring Backup

PostPosted: Wed Oct 30, 2019 12:45 pm
by rambertnala
scottwilkerson wrote:
rambertnala wrote:I am trying to restore a backup but i get this error

Restoring MySQL databases...
ERROR 1010 (HY000) at line 22: Error dropping database (can't rmdir './nagios/' , errno: 17)

What can I do ????

Here you must have dome extra files in the directory, run
Code: Select all
rm -f /var/lib/mysql/nagios


then perform the restore

rambertnala wrote:Where can I download .ova version 5.4.13-64 to try to restore backup in a new machine...

New machine mut ne identical to first one??? Number of CPU's Memory etc...

Regards


You can download here, and the specs of the machine do not have to match the old machine
https://assets.nagios.com/downloads/nagiosxi/5/ovf/nagiosxi-5.4.13-64.ova


Once I have created new machine from .ova file i will restore backup...

And license will be OK. No problem at all.

My servers are offline from Internet, any problem with that???

Thanks and regards

Re: ERROR 1010 (HY000) Restoring Backup

PostPosted: Wed Oct 30, 2019 12:47 pm
by scottwilkerson
rambertnala wrote:Once I have created new machine from .ova file i will restore backup...

And license will be OK. No problem at all.

My servers are offline from Internet, any problem with that???

Thanks and regards


Should be just fine, the restore will bring along your license key and activation