How to backup badgerdb?

The CLI tool is in the repo here and is still around: badger/badger/cmd at master · dgraph-io/badger · GitHub

The CLI backup tool just executes db.Backup()/Load()

But db.Backup() is a small wrapper around a badgerdb Stream with a known format for Load() to use, so you could implement whatever you want on your own Stream and have it make more sense for your application maybe.

1 Like