3 Commits
Author SHA1 Message Date
MrBlakeandClaude Opus 5.5 0f054ef109 Back up plugin files referenced by model FileFields
- Scan all Django models (incl. plugins) for FileFields via manage.py
  shell, like the NetBox-Export plugin, and use the real MEDIA_ROOT
- Store files outside MEDIA_ROOT under extra_files/ and restore them to
  their original path (mapped onto the current installation)
- Warn about missing files and files in external storages
- Bump backup format to 1.4, document in READMEs

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 13:47:31 +01:00
MrBlakeandClaude Opus 5.5 e3f550f17a Add optional greenfield installation to restore menu
New restore menu option sets up a fresh Debian/Ubuntu server (packages,
PostgreSQL role/database, Redis, netbox user, systemd units, optional
nginx with self-signed cert) and then runs a full restore.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 13:01:57 +01:00
MrBlakeandClaude Opus 5.5 81ce2ab392 Add full installation backup, restore menu and pre-upgrade backup
- Backups can now include a complete copy of the NetBox installation
  files (configuration, local_requirements.txt, LDAP, scripts, reports)
  with permissions, owners and symlinks recorded in a manifest
- New restore menu: full restore or database/media/installation files
  individually, backup selection from backup_dir, backup info view
- Restore stops services before touching the database and keeps the
  previous installation when restoring files
- Upgrade automatically creates a full backup before any change
- Backup ZIPs are created with mode 600
- English README, German README moved to README.de.md and updated

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-06 08:37:11 +01:00