Parcourir la source

Merge pull request #1939 from dougthor42/patch-1

Add note about copying reports to `upgrading.md`
Jeremy Stretch il y a 7 ans
Parent
commit
966c188977
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      docs/installation/upgrading.md

+ 6 - 0
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/
 # 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:
 If you followed the original installation guide to set up gunicorn, be sure to copy its configuration as well:
 
 
 ```no-highlight
 ```no-highlight