add starting of backup

This commit is contained in:
Alexander Weiss 2022-03-10 00:25:19 +01:00
parent ae85ee1593
commit 3ecb3d43d9

View File

@ -110,7 +110,6 @@ pub(super) fn execute(opts: Opts, be: &impl DecryptFullBackend) -> Result<()> {
let mut override_builder = OverrideBuilder::new("/");
// TODO: Add opts.glob-file // opts.iglob-file
for g in opts.glob {
override_builder.add(&g)?;
}
@ -158,6 +157,8 @@ pub(super) fn execute(opts: Opts, be: &impl DecryptFullBackend) -> Result<()> {
let cache = UsersCache::new();
v1!("starting backup...");
let nodes = walk_builder
.build()
.map(|entry| map_entry(entry?, opts.with_atime, &cache));