As part of the backup API that badgerDB provides it takes an io writer and a version.
I get that taking in an io writer is idiomatic to go - but that leads to the entire database being written out to one file?
Is that the correct/expected usage? To have something like a gzip writer to which the entire database is backed up to? RocksDB takes in a directory and makes a copy of the DB files similar to how they are in the live DB
Also, can the badger-db cli be used while the process is using the DB? The docs say that it is an offline backup utility but not sure if offline here means that the process is offline or if it is offline because it is not through the process