Before you start
You need a bucket and a credential. A bucket is a tape that has delegated writes to the gateway, and a credential is an access key pair the gateway operator issues you. Set up a bucket walks through both. Litestream writes continuously. Run it against your own gateway (gateway setup) rather than a public one.Configure
litestream.yml
Everyday commands
Good to know
- The gateway acknowledges each upload immediately and writes it to the chain in the background. A 1 KB upload returns in about half a millisecond, so Litestream keeps up with a busy database.
- A restore contains exactly what Litestream had shipped when you ran it.
- Retention deletes and compaction work as on any S3 store. Each retention delete is a transaction on the chain.