Files
Ulf Wiger 32384f76fe 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.
2026-08-12 16:49:13 +02:00
..
2018-02-06 09:43:57 +01:00

To run the mnesia test suite, replacing disc_only_copies references with
rocksdb_copies:

```
cd $ERL_TOP
make release_tests
cd release/tests/mnesia_test
cp $MNESIA_ROCKSDB/test/mnesia_rocksdb_backend_xform.erl .
cp $MNESIA_ROCKSDB/test/Emakefile .
```

You may use github.com/uwiger/parse_trans, and pretty-print the
debug_info in the transformed test suite modules using the following alias:

```
alias pp='escript $PARSE_TRANS_ROOT/ebin/parse_trans_pp.beam'
```