Skip to content

Instantly share code, notes, and snippets.

View sysadm-anon's full-sized avatar

sysadm-anon

  • Joined May 2, 2026
View GitHub Profile
@sysadm-anon
sysadm-anon / 3cx-merge-backup.py
Created May 2, 2026 00:59
Recover data from a 3CX backup with a revoked/dead license by splicing it into a fresh, licensed backup
#!/usr/bin/env python3
"""
3CX Backup Merge Tool
Splices a dead/revoked-license OLD 3CX backup into a fresh NEW (licensed) backup
so you can restore your old data onto the freshly-installed PBX.
USE CASE
--------
You let your 3CX license get revoked. You can't restore the old backup because