mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 13:54:20 +01:00
13 lines
318 B
Rust
13 lines
318 B
Rust
use anyhow::Result;
|
|
use breez_sdk_core::*;
|
|
|
|
async fn retrieve_backup_files() -> Result<()> {
|
|
// ANCHOR: static-channel-backup
|
|
let backup_data = BreezServices::static_backup(StaticBackupRequest {
|
|
working_dir: "<working directory>".into(),
|
|
})?;
|
|
// ANCHOR_END: static-channel-backup
|
|
|
|
Ok(())
|
|
}
|