Page 1 of 1
How to Migrate LOG from CentOS6 to 7
Posted: Fri Jul 17, 2020 3:26 pm
by dlukinski
Hello LOG support
How to migrate Nagios LOG from CentOS6.9 (Nagios template VM, extended disk)
to the new CentOS 7 VM?
- we have a lot of indexes to move over, many hundreds of GBs
Thank you
Re: How to Migrate LOG from CentOS6 to 7
Posted: Fri Jul 17, 2020 4:23 pm
by jbrunkow
I believe you could do a
backup and
restore to move your data to the newer OS.
Run this command to see if which backups are currently on the server.
If there is not a backup, or you would like to make a more current one, you can run the following script to create one.
Code: Select all
/usr/local/nagioslogserver/scripts/create_backup.sh
Once it has been created, you could copy it directly from one server to the other with
scp.
Code: Select all
cd /store/backups/nagioslogserver/
scp <backup name> <username>@<new server IP>:/store/backups/nagioslogserver/.
Then run the restore backup script on the new server.
Code: Select all
/usr/local/nagioslogserver/scripts/restore_backup.sh <backup name>
See the documentation linked below for more detailed instructions on performing
backup and
restore on Nagios
Log Server.
BACKUP AND RESTORE ON NAGIOS LOG SERVER