Function create_backup
Source pub async fn create_backup(broker_url: &str, output_path: &str) -> Result<()>
Expand description
Create a full backup of broker state
§Arguments
broker_url - Broker connection URL
output_path - Output file path (should end with .tar.gz)
§Examples
use celers_cli::backup::create_backup;
create_backup("redis://localhost:6379", "backup.tar.gz").await?;