Server Migration

From NetMRG Wiki

Jump to: navigation, search

This document is meant as a how-to for moving a NetMRG installation between servers.

Contents

Preparing the new server

To begin the migration, install the same version of NetMRG on the new server. Follow the Install Instructions.

Migrating custom scripts

Any scripts you have added to NetMRG, particularly those in libexec, should be moved to the new server.

Migrating the database

Dump your NetMRG database to a file, and copy the file to the new server. It is recommended you shutdown NetMRG (either disable the cron job or stop the daemon, depending on your installation). For instructions on exporting your database to a file, see Database Backup. Once you have copied the database file to the new server, import the copy into your database.

Migrating RRDs

The last step in migrating NetMRG is copying the RRD files between servers. RRD files are architecture-dependent, so if you need to move RRDs between architectures, consult RRD Architecture Conversion.

Personal tools