async fn sync_bucket( snapshot_files: Vec<PathBuf>, endpoint: String, dry_run: bool, export_mode: ExportMode, ) -> Result<()>