Re: Restore of database - Database error
Posted: Thu Aug 06, 2020 3:29 am
Hi
Are you sure your backup is not corrupted?
No I am not sure but I have used 3 different backups.
The backup file is approx 5.7GB
Is there a way to test the backup before I do a restore to see if it is ok ?
Can you find the nagiosxi db in the backup tarball?
If I extract the .tar.gz file on a Windows Server I can see the following
The folder pgsql has a file called nagiosxi.sql but it is only 4.8MB
The folder mysql has a file called nagios.sql it is 993MB
The folder mysql has a file called nagiossql.sql it is 2.60MB
Is it in postgres or mysql?
Looks like its in mysql
Thanks
Are you sure your backup is not corrupted?
No I am not sure but I have used 3 different backups.
The backup file is approx 5.7GB
Is there a way to test the backup before I do a restore to see if it is ok ?
Can you find the nagiosxi db in the backup tarball?
If I extract the .tar.gz file on a Windows Server I can see the following
The folder pgsql has a file called nagiosxi.sql but it is only 4.8MB
The folder mysql has a file called nagios.sql it is 993MB
The folder mysql has a file called nagiossql.sql it is 2.60MB
Is it in postgres or mysql?
Looks like its in mysql
Thanks