Skip to content
Command-line tool for converting datastores (e.g. from FlatFS to Badger)
Go Makefile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gx
config
convert
repo
revert
strategy
testfiles
testutil
LICENSE
Makefile
README.md
circle.yml
cli_test.go
go.mod
go.sum
main.go

README.md

ipfs-ds-convert

Coverage Status Travis CI

Datastore converter for go-ipfs

This tool is WIP and may damage your data. Make sure to make a backup first.

TODO:

Install

Build From Source

These instructions assume that go has been installed as described here.

$ GO111MODULE=on go get github.com/ipfs/ipfs-ds-convert@latest

Usage

Convert to Badger Datastore

Apply the Badger Datastore profile:

ipfs config profile apply badgerds

Then, start the conversion using

$ ipfs-ds-convert convert

This can take a very long time to complete depending on the size of the datastore. If running this on a headless server it's recommended to use something like screen or tmux to run this command in a persistent shell.

Contribute

PRs are welcome!

Small note: If editing the Readme, please conform to the standard-readme specification.

License

MIT © Łukasz Magiera

You can’t perform that action at this time.