This is a CLI tool to backup and restore Fuel Core databases (rocksdb).
The tests for backup and restore are already located in fuel-core.
cargo run -- --help
cargo run --release -- backup --backup-from /path/to/db --backup-to /path/to/backup
cargo run --release --features compress -- backup --backup-from /path/to/db --backup-to /path/to/backup.xz
cargo run --release -- restore --restore-from /path/to/backup --restore-to /path/to/db
cargo run --release --features compress -- restore --restore-from /path/to/backup.xz --restore-to /path/to/db
Precompiled binaries are available in the nightly releases, please download the appropriate one for your system there.