Преглед изворни кода

Merge pull request #3627 from bdlamprecht/pg_dump-documentation

Adding note on invalidating cache
Jeremy Stretch пре 6 година
родитељ
комит
95fec1a87c
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      docs/administration/replicating-netbox.md

+ 5 - 0
docs/administration/replicating-netbox.md

@@ -39,6 +39,11 @@ If you want to export only the database schema, and not the data itself (e.g. fo
 ```no-highlight
 ```no-highlight
 pg_dump -s netbox > netbox_schema.sql
 pg_dump -s netbox > netbox_schema.sql
 ```
 ```
+If you are migrating your instance of NetBox to a different machine, please make sure you invalidate the cache by performing this command:
+
+```no-highlight
+python3 manage.py invalidate all
+```
 
 
 ---
 ---