MyRocks has a scripts/myrocks_hotbackup script, and rocksdb_hotbackup testsuite to test it.
At the moment myrocks_hotbackup is not included in MariaDB (it was outside of storage/rocksdb/ so we missed it).
I also experienced difficulties when running rocksdb_hotbackup tests: https://github.com/facebook/mysql-5.6/issues/577 . Some of the tests will not run on [current] MariaDB (as they require "slocket" feature or MySQL-style gtid or something else), but it would be nice to have at least one test passing.
- Either tar or wdt tool (https://github.com/facebook/wdt) must be in the PATH.