# Automatically Archive Old NetBox Branches

DevFeed: [Automatically Archive Old NetBox Branches](<https://devfeed.tech/articles/automatically-archive-old-netbox-branches-30852.md>)

Original publisher: [Read original article](<https://www.packetcoders.io/automatically-archive-old-netbox-branches/>)

Author: Rick Donato

Published: 2026-08-14T08:00:15Z

Content type: release

Language: en

Sources: [Packet Coders - Learn Network Automation](<https://devfeed.tech/sources/packet-coders-learn-network-automation.md>)

Topics: [NetBox](<https://devfeed.tech/topics/netbox.md>), [Job](<https://devfeed.tech/topics/job.md>), [Database](<https://devfeed.tech/topics/database.md>)

Tags: [automatically](<https://devfeed.tech/tags/automatically.md>), [daily](<https://devfeed.tech/tags/daily.md>), [job](<https://devfeed.tech/tags/job.md>), [netbox](<https://devfeed.tech/tags/netbox.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [release](<https://devfeed.tech/tags/release.md>), [tips](<https://devfeed.tech/tags/tips.md>)

## AI overview

NetBox Branching v1.1.2 introduces the auto_archive_days setting, which runs a daily background job to archive merged branches older than a specified number of days. Automatic archival is disabled by default, and archived branches cannot be reverted.

## Source excerpt

A common question we get from students using NetBox Branching is: How can I automatically remove stale branches from NetBox? Therefore, I thought I'd share the latest addition to NetBox Branching, introduced in v1.1.2. This release adds the auto_archive_days setting, allowing you to automatically