Kaynağa Gözat

Clarify cache invalidation instructions

Jeremy Stretch 5 yıl önce
ebeveyn
işleme
b39019cec9
1 değiştirilmiş dosya ile 3 ekleme ve 2 silme
  1. 3 2
      docs/administration/replicating-netbox.md

+ 3 - 2
docs/administration/replicating-netbox.md

@@ -73,8 +73,9 @@ tar -xf netbox_media.tar.gz
 
 
 ## Cache Invalidation
 ## Cache Invalidation
 
 
-If you are migrating your instance of NetBox to a different machine, be sure to first invalidate the cache by performing this command:
+If you are migrating your instance of NetBox to a different machine, be sure to first invalidate the cache on the original instance by issuing the `invalidate all` management command (within the Python virtual environment):
 
 
 ```no-highlight
 ```no-highlight
-python3 manage.py invalidate all
+# source /opt/netbox/venv/bin/activate
+(venv) # python3 manage.py invalidate all
 ```
 ```