What you can do
Manual backups
Trigger network or full system backups on demand with configurable retention.
Automated scheduling
Set up daily, weekly, or monthly backup schedules with custom retention policies.
Download and verify
Download backup files to local storage with SHA-256 checksum verification.
Restore
Restore from any listed backup with automatic pre-restore safety backup.
Backup types
UniFi supports two backup types:
For most environments,
network backups are sufficient and faster to create and restore.
Creating a manual backup
Example prompts:- “Create a backup of the network configuration”
- “Back up the controller now before I make changes”
1
Preview the backup
2
Create the backup
retention_days: -1 to keep a backup indefinitely.
Listing and inspecting backups
Example prompts:- “List all available backups”
- “Show me details about the backup from April 20th”
Downloading a backup
Thedownload_backup tool saves a backup file to your local filesystem and optionally computes a SHA-256 checksum to verify file integrity.
Example prompt: “Download the latest backup to /tmp/unifi-backup.unf and verify it”
Validating a backup
Before restoring, you can validate a backup to check file size, validity flags, and version compatibility.Restoring from a backup
By default,restore_backup automatically creates a safety backup of your current configuration before applying the restore. This gives you a rollback point if something goes wrong.
Example prompt: “Restore the controller from the backup made on April 20th”
Scheduling automated backups
Theschedule_backups tool configures recurring backups on a daily, weekly, or monthly schedule.
Example prompts:
- “Schedule daily network backups at 3 AM”
- “Set up weekly system backups on Sundays at 2 AM with 90-day retention”
- Daily backups
- Weekly backups
- Monthly backups