• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

Roger Perkin

Network Automation Architect

  • Network Automation
    • Network Automation Courses
    • What is NetDevOps?
    • Workflow Orchestration
    • Ansible Automation Platform
    • Ansible Workshop
    • What is Network Automation?
    • Network Automation Tools
    • ContainerLab
    • Ansible Training
      • What is Ansible?
      • Ansible Tutorial for Beginners
      • Ansible Network Automation
      • Ansible Inventory Example
    • Python Network Automation
      • Nornir
      • Python Network Automation Course
      • Python for Network Engineers
      • Python VENV / Virtual Environment Tutorial
      • Python Tutorial for Beginners
      • pyATS
    • Network Source of Truth
      • NetBox
      • Infrahub
      • NautoBot
    • NetDevops
    • DevOps Tutorial
      • Git Training
      • Terraform Training
      • Linux Training
      • Kubernetes Training
      • Devops Training Course
      • Azure Devops Training
    • Terraform
    • GIT
      • Git Commands
      • What is GitHub?
    • Docker Training
    • Confluence
    • Microsoft Azure
  • Cisco
    • ISE
    • SD WAN Training
    • Password Recovery
    • Software-Upgrade-Guides
    • BGP
    • Data Center
    • WIRELESS
  • CCIE
  • Blog
  • About
    • My Red Special Guitar
  • Contact

How to Upgrade Netbox – Netbox Upgrade Guide

Home » Network Automation » NetBox

In this post I will cover the process to upgrade a Netbox installation running in Docker. I will be upgrading from version 3.7.4 to version 4.3.4

When upgrading Netbox, as the software is based on Django it does a database upgrade so you have to follow this guide when moving between versions.

Guide to upgrading Netbox

When upgrading from earlier versions you have to follow these upgrade steps instead of going from one version directly to another.

When upgrading Netbox here are some key rules

You cannot skip a major version jump — for example, jumping from 2.10 straight to 3.x is not supported; you must land on a 2.11.y first

Final patch levels are crucial — always upgrade to the highest patch of your minor version before moving to the next major.

Schema migrations are consolidated — which is why major-version jumps require this sequential approach.

Please refer to this guide: https://netboxlabs.com/docs/netbox/installation/upgrading/

In my example of moving from 3.7.4 to latest I have to follow this approach

Ugrade Netbox Docker

This is the path I will be following based on the above information

Backup everything — DB, config files, media, scripts, etc.

From 3.7.4, upgrade to 3.7.8.

Upgrade from 3.7.8 to 4.0.11.

Apply successive upgrades: 4.0.11 → 4.1 latest → 4.2 latest → 4.3.4.

How update Netbox

1. Backup Netbox PostgreSQL Database

Whenever you are performing an upgrade always backup your current database.

To backup a Netbox database use the following command

# Replace with your actual DB name, user, and path
PGPASSWORD=netbox \
pg_dump -U netbox -h localhost -Fc netbox > /opt/backups/netbox_$(date +%F).dump

Netbox Upgrade Tips

Netbox Upgrade with Plugins

I found this great video on how to perform a Netbox Upgrade when you have Plugins

Netbox Upgrade Documentation

The netbox documentation can be found below

https://netbox.readthedocs.io/en/stable

The specific page for upgrading netbox is below

https://netbox.readthedocs.io/en/stable/installation/upgrading

How to upgrade Netbox Software

Upgrading Netbox

How to Upgrade Netbox

Category: NetBox
ansible course for network engineers
Get Access to my Ansible Course NOW
Previous Post:NetDevOps Tools
Next Post:How to Delete Netbox (Docker)

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Sidebar

Hi I'm Roger Perkin,
Based in the UK working as a Network Automation Architect, CCIE #50038
About Roger | Twitter | Linkedin

python course for network engineers

Topics

Network Automation
Ansible
Python for Network Automation
CCIE
Cisco ISE
F5 Certification
BGP
OSPF
Network Automation Conferences
auvik promo banner
Pluralsight Trial

Git for Network Engineers

Ansible vs Nornir

Start learning today with my Network Automation Courses

Master Ansible, Python, Git, Nornir, Jenkins and more..


Buy me a coffeeBuy me a coffee

ansible network automation course

Have you seen my YouTube Channel?

YouTube Subscribe

Let’s get started

Take a look at my premium courses on Ansible, Nornir & Git or buy them all with the Network Automation Bundle!

Network Automation Courses

Navigation

Python VENV Tutorial
Python for Network Engineers

Network Automation
Network Automation Courses
Network Discovery Tools
Network Automation Conferences
Ansible Training
What is Ansible?
Devops Tutorial
Network Source of Truth
DevOps Glossary
Network Monitoring Software

Contact

Contact

Get in touch with me here

[email protected]

  • Twitter
  • LinkedIn
  • YouTube
Buy me a coffeeBuy me a coffee

Copyright © 2025 · Roger Perkin · All Rights Reserved · Privacy Policy – Terms