Skip to main content

Module snapshot

Module snapshot 

Source

Structs§

RetentionConfig
SnapshotInfo

Functions§

apply_retention
Apply Grandfather-Father-Son retention to snapshots and compact the journal.
create_snapshot
Create a point-in-time snapshot of the database.
download_snapshot_s3
Download a snapshot tarball from S3 and extract it to dest_dir.
find_latest_snapshot_s3
Find the latest snapshot key in the bucket with the given prefix.
restore
Restore the database from a snapshot, then replay journal entries.
upload_snapshot_s3
Tar + zstd-compress a snapshot directory and upload it to S3.