pub async fn dump_data(
source_url: &str,
database: &str,
output_path: &str,
filter: &ReplicationFilter,
) -> Result<()>Expand description
Dump data for a specific database using optimized directory format
Uses PostgreSQL directory format dump with:
- Parallel dumps for faster performance
- Maximum compression (level 9)
- Large object (blob) support
- Directory output for efficient parallel restore
The number of parallel jobs is automatically determined based on available CPU cores.