浏览代码

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
 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
+```
 
 ---