pub fn backup<W: Web, A: Archive>(web: &mut W, archive: &A) {
    info!("backing up");
    let file = archive.write();
    info!("file written");
    let r = web.send_backup("test-backup-1", file);

    info!("backup successful: {}", r.is_ok());
}
// zip up config folder
// send to web service
// report back with success/failure
zip up config folder
send to web service
report back with success/failure
zip up config folder send to web service report back with success / failure
pub fn backup<W: Web, A: Archive>(web: &mut W, archive: &A) {
    info!("backing up");
    let file = archive.write();
    info!("file written");
    let r = web.send_backup("test-backup-1", file);
    info!("backup successful: {}", r.is_ok());
}
pub fn backup < W : Web , A : Archive > ( web : & mut W , archive : & A ) { info ! ( " " ) ; let file = archive . write ( ) ; info ! ( " " ) ; let r = web . send_backup ( " " , file ) ; info ! ( " " r is_ok ( ) ) ; }
zip up config folder
send to web service
report back with success/failure
zip up config folder send to web service report back with success / failure
web
&mut W
archive
&A
web
&mut W
archive
&A