pub fn validate_uri(uri: &str) -> Result<StorageScheme>Expand description
Validates that a URI has a proper scheme.
Rejects bare paths (e.g., /tmp/backup, ./backup) because:
- Schema export (CLI) and data export (server) run in different processes
- Using bare paths would split the snapshot across machines
Supported URI schemes:
s3://bucket/path- Amazon S3oss://bucket/path- Alibaba Cloud OSSgs://bucket/path- Google Cloud Storageazblob://container/path- Azure Blob Storagefile:///absolute/path- Local filesystem