From 8d9543cb6ad60dbf144f9baa1289eb0745407a67 Mon Sep 17 00:00:00 2001 From: Douglas Thor Date: Thu, 1 Mar 2018 15:05:51 -0800 Subject: [PATCH] Add note about copying reports to `upgrading.md` The `upgrading.md` file does not mention reports. If the user created reports in the old version's default directory (`./netbox/reports`), then the reports will not be transferred to the new version. --- docs/installation/upgrading.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/installation/upgrading.md b/docs/installation/upgrading.md index 02a08716b..59b109c36 100644 --- a/docs/installation/upgrading.md +++ b/docs/installation/upgrading.md @@ -27,6 +27,12 @@ Be sure to replicate your uploaded media as well. (The exact action necessary wi # cp -pr /opt/netbox-X.Y.Z/netbox/media/ /opt/netbox/netbox/ ``` +Also make sure to copy over any reports that you've made. Note that if you made them in a separate directory (`/opt/netbox-reports` for example), then you will not need to copy them - the config file that you copied earlier will point to the correct location. + +```no-highlight +# cp -r /opt/netbox-X.Y.X/netbox/reports /opt/netbox/netbox/reports/ +``` + If you followed the original installation guide to set up gunicorn, be sure to copy its configuration as well: ```no-highlight