2019-06-04 11:12:42 +00:00
|
|
|
use failure::*;
|
|
|
|
|
|
|
|
use proxmox_backup::api2;
|
|
|
|
use proxmox_backup::api_schema::format::*;
|
|
|
|
|
|
|
|
fn main() -> Result<(), Error> {
|
|
|
|
|
2019-06-05 05:23:21 +00:00
|
|
|
let api = api2::backup::backup_api();
|
2019-06-04 11:12:42 +00:00
|
|
|
|
|
|
|
dump_api(&mut std::io::stdout(), &api, ".", 0)?;
|
|
|
|
|
|
|
|
Ok(())
|
|
|
|
}
|