Rust-rocksdb: Expose API to restore database from backups

Created on 27 Aug 2017  路  7Comments  路  Source: rust-rocksdb/rust-rocksdb

the backup module can backup and has restore options, but how do we backup?

bug help wanted

Most helpful comment

I have implemented this on my local branch. I will submit a PR.

All 7 comments

Can you provide more detail? What are you trying to do?

How do I restore from an existing backup directory? I don't see pub unsafe extern "C" fn rocksdb_backup_engine_restore_db_from_latest_backup() is made available in the Rust interface.

I can see that the library doesn't expose the ability to restore an backup. Looks like the work has been started but not finished. I've labeled this as a bug. Anyone is free to take on fixing this, otherwise I will plan on it once other in-flight work is completed.

I have implemented this on my local branch. I will submit a PR.

Looks like this will be addressed in #249 by @rohitjoshi.

@iSynaptic I am close #249 and splitting into two different PRs.
Submitted #272 for this issue.

Fixed by #272.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

elichai picture elichai  路  6Comments

iSynaptic picture iSynaptic  路  12Comments

yiyanwannian picture yiyanwannian  路  6Comments

f41gh7 picture f41gh7  路  4Comments

valeriansaliou picture valeriansaliou  路  4Comments