From c60d9aeca7825dff5bfae04242a7323beb0acc75 Mon Sep 17 00:00:00 2001 From: Matt W Date: Thu, 21 Feb 2019 13:26:00 -0800 Subject: [PATCH] Clarification in the migrating server process (#9848) Slight formatting and clarification improvements in instructions for migrating servers. --- doc/Support/FAQ.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/Support/FAQ.md b/doc/Support/FAQ.md index a09fa52e3a..b6433896bd 100644 --- a/doc/Support/FAQ.md +++ b/doc/Support/FAQ.md @@ -231,13 +231,15 @@ If you are moving from one CPU architecture to another then you will need to dum this scenario then you can use [Dan Brown's migration scripts](https://vlan50.com/2015/04/17/migrating-from-observium-to-librenms/). If you are just moving to another server with the same CPU architecture then the following steps should be all that's needed: - - - Install LibreNMS as per our normal documentation, you don't need to run through the web installer or building the sql schema. - - Stop cron by commenting out all lines in `/etc/cron.d/librenms` - - Dump the MySQL database `librenms` and import this into your new server. - - Copy the `rrd/` folder to the new server. - - Copy the `config.php` file to the new server. - - Renable cron by uncommenting all lines in `/etc/cron.d/librenms` + + * Install LibreNMS as per our normal documentation; you don't need to run through the web installer or building the sql schema. + * Stop cron by commenting out all lines in `/etc/cron.d/librenms` + * Dump the MySQL database `librenms` from your old server (`mysqldump librenms -u root -p > librenms.sql`)... + * and import it into your new server (`mysql -u root -p < librenms.sql`). + * Copy the `rrd/` folder to the new server. + * Copy the `config.php` file to the new server. + * Ensure ownership of the copied files and folders (substitute your user if necessary) - `chown -R librenms:librenms rrd/; chown librenms:librenms config.php` + * Re-enable cron by uncommenting all lines in `/etc/cron.d/librenms` #### Why is my EdgeRouter device not detected?