feat: add S3-compatible backup upload/download (Y3-02)
New RPC endpoints: - backup.upload-s3: Upload encrypted backup to any S3-compatible endpoint - backup.download-s3: Download backup from S3 to local storage Supports MinIO, Backblaze B2, Wasabi via basic auth + S3 API. Backups are AES-256-GCM encrypted before upload. Rate-limited at 3 requests per 10 minutes. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
01d1caa21b
commit
2fa3036c12
@@ -623,6 +623,14 @@ impl RpcHandler {
|
||||
let p = params.unwrap_or(serde_json::json!({}));
|
||||
self.handle_backup_to_usb(&p).await
|
||||
}
|
||||
"backup.upload-s3" => {
|
||||
let p = params.unwrap_or(serde_json::json!({}));
|
||||
self.handle_backup_upload_s3(&p).await
|
||||
}
|
||||
"backup.download-s3" => {
|
||||
let p = params.unwrap_or(serde_json::json!({}));
|
||||
self.handle_backup_download_s3(&p).await
|
||||
}
|
||||
|
||||
// Security / secrets
|
||||
"security.rotate-secrets" => {
|
||||
|
||||
Reference in New Issue
Block a user