eat-rocks
restore a rocks backup from s3-compatible object storage
rocks has built-in backup/restore, but its restore function expects a local filesystem. bridging object storage to a filesystem works, but it's really annoying.
eat-rocks talks to object storage directly (and with high default concurrency) so it can be pretty fast at getting your database back.
cli
# restore latest from a public bucket (subdomain style)
# list available backups
# restore a specific backup
# authenticated access (or set AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY)
# path-style (minio, localstack)
# limit concurrency (poor connection, etc)
lib
use ;
let store = public_bucket?;
restore.await?;
or bring your own ObjectStore implementation (S3, GCS, Azure, local filesystem, ...):
let store: = /* store: all you */;
restore.await?;
features
cli: enable deps to build the binaryeasy(default):public_bucket()convenience function withawsstore backend
cli build
the cli feature flag is required to build the cli
license
Dual-licensed under MIT and Apache 2.0.
SPDX-License-Identifier: MIT OR Apache-2.0