diff --git a/README.md b/README.md index d090e1a..380fd07 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,12 @@ # rusnapshot Simple and handy btrfs snapshoting tool. Supports scheduled snapshots and restoring. Backed with SQLite. + +# Features + +- Allows you to specify the origin and destination of snapshots at will of the user. +- Track snapshots using SQLite as backend database. +- You can create snapshots of the volumes you want simply by using different configuration templates. +- You can use the same database for everything. +- You can specify the prefix for each group of snapshots. +- Supports restoration of snapshots. +- Automatic snapshots cleanup. \ No newline at end of file diff --git a/src/controller.rs b/src/controller.rs index 886931c..63f1543 100644 --- a/src/controller.rs +++ b/src/controller.rs @@ -11,7 +11,7 @@ pub fn manage_creation(args: &mut Args) -> Result<()> { args.snapshot_name = format!( "{}-{}", args.snapshot_prefix, - Utc::now().format("%Y-%m-%d-%H-%M-%S") + Utc::now().format("%Y-%m-%d-%H-%M-%S-%6f") ); args.snapshot_id = format!("{:?}", md5::compute(&args.snapshot_name)); if operations::take_snapshot(args) {