Add hybrid mnesia_rocksdb backup and restore

Provide mnesia_rocksdb:backup/1,2 and restore/1,2 that pair a Mnesia
checkpoint (schema and non-RocksDB tables) with RocksDB backup engines
for open admin and standalone databases.

Restore stages RocksDB into a sibling directory and redirects mountpoints
while Mnesia fallback purges the real directory, then relocates the data
and optionally restarts. Raise the minimum OTP version to 27.
This commit is contained in:
Ulf Wiger
2026-08-12 16:49:13 +02:00
parent 9ffb991c2c
commit 32384f76fe
8 changed files with 1262 additions and 26 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ backs up data.
- rocksdb (included as dependency)
- sext (included as dependency)
- Erlang/OTP 22.0 or newer (https://github.com/erlang/otp)
- Erlang/OTP 27.0 or newer (https://github.com/erlang/otp)
### Getting started