Skip to content

Netbox-Docker db migration to Production Netbox Server (standalone) #13852

Closed Locked Answered by candlerb
andrewburke1 asked this question in Q&A
Discussion options

You must be logged in to vote

Only the postgres approach will reliably replicate your Netbox installation. This is documented officially at https://docs.netbox.dev/en/stable/administration/replicating-netbox/ (not specifically for docker)

There is no "db secret key" as such. The SECRET_KEY setting in configuration.py is not related to anything in the database. It is only used for validating cookies. If you were replacing an old Netbox instance or container with a new one, and you wanted users who had already logged into the old one to remain logged in on the new, then you'd match the values. Otherwise, if each one has its own random SECRET_KEY, then the users would have to login again on the second instance.

As I unde…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andrewburke1
Comment options

Answer selected by andrewburke1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants