Commit Graph
13 Commits
Author SHA1 Message Date
MrBlakeandClaude Opus 5.5 a0e3feaff4 Fix greenfield restore: import DB as postgres and verify tables
- Greenfield restore runs dropdb/createdb/pg_restore as local postgres
  superuser with --role=db_user to avoid permission issues
- Abort before upgrade.sh if core NetBox tables are missing after import
- Install systemd units before upgrade.sh so error-path restarts work

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-13 13:33:34 +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
MrBlake f132d8878d Merge branch 'feature/full-backup-restore-menu'
# Conflicts:
#	README.md
2026-11-06 08:41:47 +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
MrBlakeandClaude Opus 5.5 23f3141757 docs: translate README to English and align structure
Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-26 20:58:22 +01:00
MrBlake cb32ebd7d8 add readme 2026-07-20 12:42:56 +02:00
MrBlake 3443e9a8b5 rename to nettmanage, add NetBox upgrade function 2026-07-20 12:34:36 +02:00
MrBlake 9da74aef94 del v1 2026-07-20 12:27:29 +02:00
MrBlake f113a35ce7 upload v1 2026-07-09 16:50:29 +02:00
MrBlake 7d62e93766 nettrans.py aktualisiert 2026-07-09 16:49:56 +02:00
MrBlake f70dd88f9d net.py aktualisiert 2026-07-09 16:49:40 +02:00
MrBlake 196dbcc1da rename 2026-07-09 16:49:21 +02:00
MrBlake 1823563ff6 upload 2026-07-09 16:49:01 +02:00