What to back up
Three kinds of state matter. The Manager holds the configuration database: templates, groups, policies, users and device records. Each controller and edge has its own running configuration and certificates. And the virtual machines that run controllers can be copied with the hypervisor's snapshot feature, which is a quick way back but should not be the only copy.
The Manager database is backed up with the built-in command and copied off the Manager. Device configurations are kept with the change ticket. A virtual machine snapshot is short term only. Certificate files are stored with restricted access and a record of their expiry. Policy and template exports go into version control where it is available.
- Manager databasebuilt-in backup,copy off the box
- Configskept with thechange ticket
- VM snapshotshort term only,then delete
- Certificatesrestricted access,expiry noted
| What | How (typical) | Keep it |
|---|---|---|
| Manager configuration database | Built-in backup command or scheduled backup | Off the Manager, in more than one place |
| Edge and controller running configuration | Saved from the CLI, or exported from the Manager | With the change ticket |
| Virtual machine snapshot | Hypervisor snapshot before a change | Short term only; delete after the change is safe |
| Root CA and certificate files | Stored securely by the CA owner | Restricted access, with a record of expiry |
| Policy and template exports | Export from the Manager | In version control if available |
request nms configuration-db backup path /home/admin/db_backupOne example for an on-premises Manager: it writes the configuration database to a file. The exact command, path and options depend on the release, so confirm in the documentation for your version. Copy the file off the Manager afterwards.
Prove the backup with a restore test
A backup file only proves that something was written. A restore test proves that the file can be used. Do it on a spare virtual machine, not on the live Manager, and write down the result. Restores usually need the same software release as the backup and the certificate material the Manager relies on, so check both in the documentation for your release before the test.
The copy exists off the Manager, the spare machine runs the right release, the restore completes, the data matches the live Manager, and the certificates and passwords are on hand.
- 1 CopyThe file is off the Managerin a second location, and readable
- 2 ReleaseThe spare machine runs the releasethe backup needs
- 3 RestoreThe restore finishes without errorsand the time taken is recorded
- 4 DataTemplate, policy and device countsmatch the live Manager
- 5 KeysCertificate files and passwordsare available, stored separately
Keep the record short: the date, the backup file name, where it was restored, the release, the counts that were compared and how long it took. The time taken is the number you will need when a real restore is under way and someone asks how long it will be.
Upgrading in order
An upgrade is planned in layers. Read the release notes and the compatibility information first. Upgrade the Manager, then the Validator, then the Controller, then the edges, in that order. On the edges, upgrade a pilot site before the rest, and verify before continuing. Routers install the new image, activate it and then confirm it. On many releases, a router that cannot reach the Manager after activation can return to the old image after a timer, which is why the confirm step matters.
Manager, Validator, Controller, edges.
- Managerfirst
- Validatorsecond
- Controllerthird
- Pilot edgeverify
- Other edgesin groups
Installed against active against confirmed.
A change window
A change window is a period agreed for risky work. It needs a short plan with five parts: what will be changed and why, the baseline before, the steps in order, the check that says it worked, and the action that undoes it with a time at which to decide. Without the last part, people tend to keep trying for hours when a rollback was the right call.
Five parts of a change plan.
- What and whyThe change, the sites it touches, who approved it
- BaselineControl connections, OMP and BFD summary before the change
- StepsIn order, with the pilot site first
- Success checkThe same commands as the baseline, with the expected result
- RollbackThe steps to undo, and the time at which you will use them
Worked example: a window on the clock
A plan needs a time at which the answer becomes rollback, and that time can be worked out. Take a window from 22:00 to 01:00. The rollback is estimated at 40 minutes and its verification at 15 minutes. The latest moment to start a rollback is the end of the window minus both: 01:00 minus 55 minutes is 00:05. Anything decided after that cannot be undone and checked inside the window.
The baseline is taken at 22:00. The pilot site is checked at 22:45. The remaining sites are changed from 23:00. At 00:05 the choice is made to keep the change or start the rollback. The window ends at 01:00.
- 22:00baseline
- 22:45pilot check
- 23:00rest ingroups
- 00:05keep orroll back
- 01:00windowends
| Time | What happens | Decision |
|---|---|---|
| 22:00 to 22:15 | Record the baseline: control connections, OMP peers and BFD sessions for every site in scope | None. Do not start if the baseline is already unhealthy |
| 22:15 to 22:45 | Make the change on the pilot site | None |
| 22:45 to 23:00 | Run the same commands as the baseline on the pilot | At 23:00: go on, or undo the pilot |
| 23:00 to 00:00 | Make the change on the remaining sites in groups | After each group: the same checks, or stop |
| 00:00 to 00:05 | Final checks on every site | At 00:05: keep the change, or start the rollback |
| 00:05 to 01:00 | Rollback and its checks, only if needed (40 plus 15 minutes) | Latest possible start is 00:05 |
A slower rollback moves the decision point earlier and leaves less time for the change itself. The table below was computed by script for the same three-hour window, with the 15-minute baseline kept as in the table above.
| Rollback plus checks | Latest rollback start | Minutes left to change and check |
|---|---|---|
| 40 plus 15 minutes | 00:05 | 110 |
| 60 plus 15 minutes | 23:45 | 90 |
| 90 plus 20 minutes | 23:10 | 55 |
| 120 plus 30 minutes | 22:30 | 15 |
Two habits make the clock work. The rollback estimate comes from a rehearsal, not a guess. And the person who decides is named before the window starts, so the call at 00:05 takes seconds instead of a discussion.
Dates to watch
Certificates are renewed starting 90 days before expiry in the example register. The root certificate authority is replaced two years before expiry. Software end of support goes into yearly planning. The subscription is renewed starting 60 days before the term ends.
- Certificatesstart 90 daysbefore expiry
- Root CAstart two yearsbefore expiry
- Support endput in theyearly plan
- Subscriptionstart 60 daysbefore term ends
| Date | Why it matters | When to act |
|---|---|---|
| Controller and device certificate expiry | Expired certificates break control connections | Months before, not days |
| Root CA expiry | Every certificate it signed becomes untrusted | Plan a replacement well in advance |
| Software end of support | No fixes for security issues | Include in yearly planning |
| Licence or subscription term | Features and support depend on it | Before the renewal date |
A register turns those dates into dates to act on. The expiry dates below are examples, with the reminders worked out from them.
| Item | Issued or started | Expires | Start renewal by |
|---|---|---|---|
| Controller certificate, valid one year | 1 March 2026 | 1 March 2027 | 1 December 2026 (90 days before) |
| Edge certificate, same term | 1 March 2026 | 1 March 2027 | 1 December 2026, then 31 December and 30 January |
| Root CA, valid ten years | 15 June 2024 | 15 June 2034 | 15 June 2032 (two years before) |
| Subscription term | 1 October 2026 | 30 September 2027 | 1 August 2027 (60 days before) |
Learn more: Manager Workflows and Change ControlsPKI, Root CA, Certificates and Authorization
Test yourself
You will upgrade a small fabric. Which order is correct?
A change plan lists the steps and the success check but not the rollback. What is missing?
A Manager backup exists but has not been test-restored. What is the concern?
A change window ends at 01:00. The rollback takes 40 minutes and its checks take 15. What is the latest time to start the rollback?
A certificate was issued on 1 March 2026 with a one-year term, and renewal is planned to start 90 days before expiry. When does renewal start?
What does a restore test show that a backup file on its own does not?
The rollback takes 90 minutes and its checks take 20, in a window that ends at 01:00. What is the latest time to start the rollback?
Which backup target is meant to be kept for a short time only and deleted once the change is safe?
A subscription term ends on 30 September 2027 and the renewal lead time is 60 days. When does renewal start?