cf81e8c9be
feat(migration): Add --exclude-services option to export script
...
Added service exclusion capability to migration-export.sh:
- New --exclude-services parameter accepts comma-separated list
- Skips specified /srv/* directories during export
- Useful for excluding large services (nextcloud, peertube, gitea, lxc)
Example: --exclude-services "nextcloud,peertube,gitea,lxc,photoprism"
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-29 15:34:35 +02:00
6edd343019
feat(migration): Extend migration tools v2.1.0 with 19 modules
...
Add comprehensive data migration covering all SecuBox services:
Export modules (migration-export.sh):
- dns: BIND zones, Vortex RPZ blocklists, Unbound, AdGuard, Pi-hole
- databases: SQLite, MySQL/MariaDB, PostgreSQL, Redis dumps
- scripts: Custom scripts, systemd units, rc.local, cron jobs
- services: All /srv/* directories including:
- Streamlit instances
- Metablogizer/Metabolizer apps
- Gitea/Git repositories with full history
- Docker compose configurations
- LXC container configs
- mitmproxy, config-vault, saas-relay
Import modules (migration-import.sh):
- Corresponding restore functions for all new modules
- Service detection and systemd integration
- Database restore with owner/permission handling
Enhanced HAProxy export:
- conf.d modular architecture
- Certificate management
- Lua scripts and maps
- mitmproxy route integration
Total modules: 19 (network, firewall, wireguard, crowdsec, dhcp,
haproxy, nginx, certs, content, vhosts, users, state, git, media,
mail, accounts, dns, databases, scripts, services)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-29 14:17:30 +02:00
a8b80ff9c4
feat(migration): Extend migration tools v2.0.0 with full data export
...
Add comprehensive data migration modules:
- git: Git repos, Gitea/Gogs/GitLab data
- media: Videos, PeerTube, Jellyfin, Nextcloud files
- mail: Maildir, Postfix/Dovecot configs, DKIM keys
- accounts: Home dirs, passwd/shadow, sudo, crontabs
Tested on ESPRESSObin with 77 CrowdSec scenarios, vhosts,
web content, and user accounts successfully migrated.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-29 14:08:28 +02:00
6b3a9eb32d
feat(migration): Add OpenWrt → SecuBox-DEB migration tools
...
Migration Data Saver v1.0.0:
- migration-export.sh: SSH export from SecuBox-OpenWrt
- migration-import.sh: Import with transformations + rollback
- migration-transform.py: UCI → TOML/netplan/nftables converter
Supported modules: network, firewall, wireguard, crowdsec, dhcp,
haproxy, nginx, certs, content, vhosts, users, state
Features:
- UCIParser for OpenWrt config format
- NetworkTransformer: UCI → netplan YAML
- FirewallTransformer: UCI → nftables rules
- DHCPTransformer: UCI → dnsmasq.conf
- AES-256 archive encryption
- SHA256 checksums
- Pre-import rollback snapshots (4R pattern)
Also adds plan for Eye Remote Recovery Boot System (kwboot, mvebu64boot,
Tow-Boot UEFI integration for MOCHAbin/ESPRESSObin recovery).
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-04-29 12:45:47 +02:00