zvault/src/main.rs

44 lines
1.1 KiB
Rust

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;
extern crate rustc_serialize;
extern crate chrono;
#[macro_use] extern crate clap;
#[macro_use] extern crate log;
extern crate byteorder;
pub mod util;
pub mod bundle;
pub mod index;
mod chunker;
mod repository;
mod cli;
// TODO: Seperate remote folder
// TODO: - Copy/move backup files to remote folder
// TODO: - Keep meta bundles also locally
// TODO: - Load and compare remote bundles to bundle map
// TODO: - Write backup files there as well
// TODO: Store list of hashes and hash method in bundle
// TODO: Remove backups/subtrees
// TODO: Recompress & combine bundles
// TODO: Prune backups (based on age like attic)
// TODO: Backup files tree structure
// TODO: Check backup integrity too
// TODO: Encryption
// TODO: list --tree
// TODO: Partial backups
// TODO: Import repository from remote folder
// TODO: Continue on errors
fn main() {
cli::run();
}