Skip to main content

Module backup

Module backup 

Source

Re-exports§

pub use s3::BackupEntry;
pub use s3::S3Client;

Modules§

s3
scheduler
tarball

Enums§

BackupError
Error type for backup operations.

Functions§

apply_retention
Apply retention policy: delete backups exceeding max_count or max_age.
create_backup
Create a backup: snapshot DB via VACUUM INTO, bundle with config, upload to S3. Returns the S3 object key of the created backup.
list_backups
List available backups.
restore_backup
Restore from a backup: download from S3, extract, return paths for manual replacement.