Repository navigation
v4.9.9
v4.9.9
Fix — Pick the backup source that holds users on every path (#188)
- Marzban: with several SQLite files, prefer the one with users (newest copy wins). Live migrate detects the real engine from
/opt/marzban/.envand dumps MySQL/MariaDB correctly whendb.sqlite3is empty. - MySQL staging (→ PostgreSQL/Timescale): keep only the panel section of multi-database dumps; strip
/*!40000 DROP DATABASE */forms. - 3x-ui: pick the x-ui DB that has clients; refuse a 0-user result when the source has clients.
- Hiddify: pick the newest JSON export that has users (was the smallest).
- PasarGuard restore: among same-shaped dumps/sqlite files, prefer users, then newest.
Note
Code is on main @ b9ba70a. Update until the UI shows v4.9.9.