Skip to content

Simple CLI to backup and restore fuel-core's rocksdb databases. Portable across filesystems.

Notifications You must be signed in to change notification settings

FuelLabs/fuel-core-backup-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fuel-core-backup-cli

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.

Usage

cargo run -- --help

Backup (without compression)

cargo run --release -- backup --backup-from /path/to/db --backup-to /path/to/backup

Backup (with compression)

cargo run --release --features compress -- backup --backup-from /path/to/db --backup-to /path/to/backup.xz

Restore (without compression)

cargo run --release -- restore --restore-from /path/to/backup --restore-to /path/to/db

Restore (with compression)

cargo run --release --features compress -- restore --restore-from /path/to/backup.xz --restore-to /path/to/db

Precompiled Binaries

Precompiled binaries are available in the nightly releases, please download the appropriate one for your system there.

About

Simple CLI to backup and restore fuel-core's rocksdb databases. Portable across filesystems.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages