2017-03-10 11:43:32 +00:00
|
|
|
extern crate serde;
|
|
|
|
extern crate rmp_serde;
|
|
|
|
#[macro_use] extern crate serde_utils;
|
|
|
|
extern crate squash_sys as squash;
|
|
|
|
extern crate mmap;
|
|
|
|
extern crate blake2_rfc as blake2;
|
|
|
|
extern crate murmurhash3;
|
|
|
|
extern crate serde_yaml;
|
|
|
|
#[macro_use] extern crate quick_error;
|
2017-03-14 15:07:52 +00:00
|
|
|
extern crate docopt;
|
|
|
|
extern crate rustc_serialize;
|
2017-03-16 11:33:10 +00:00
|
|
|
extern crate chrono;
|
2017-03-17 06:15:19 +00:00
|
|
|
#[macro_use] extern crate clap;
|
2017-03-10 11:43:32 +00:00
|
|
|
|
2017-03-15 20:53:05 +00:00
|
|
|
pub mod util;
|
|
|
|
pub mod bundle;
|
|
|
|
pub mod index;
|
2017-03-10 11:43:32 +00:00
|
|
|
mod chunker;
|
|
|
|
mod repository;
|
2017-03-16 19:05:58 +00:00
|
|
|
mod cli;
|
|
|
|
|
|
|
|
// TODO: Seperate remote folder
|
|
|
|
// TODO: Copy backup files to remote folder
|
|
|
|
// TODO: Keep meta bundles also locally
|
|
|
|
// TODO: Remove backups (based on age like attic)
|
|
|
|
// TODO: Backup files tree structure
|
|
|
|
// TODO: Recompress & combine bundles
|
|
|
|
// TODO: Check backup integrity
|
|
|
|
// TODO: Encryption
|
|
|
|
// TODO: list --tree
|
|
|
|
// TODO: Partial backups
|
|
|
|
// TODO: Load and compare remote bundles to bundle map
|
|
|
|
// TODO: Nice errors / checks for CLI
|
2017-03-17 06:15:19 +00:00
|
|
|
// TODO: Import remote backup
|
|
|
|
// TODO: Continue on errors
|
2017-03-10 11:43:32 +00:00
|
|
|
|
|
|
|
fn main() {
|
2017-03-16 19:05:58 +00:00
|
|
|
cli::run();
|
2017-03-10 11:43:32 +00:00
|
|
|
}
|