mirror of
https://github.com/rustic-rs/rustic.git
synced 2025-10-26 11:18:51 +00:00
add starting of backup
This commit is contained in:
parent
ae85ee1593
commit
3ecb3d43d9
@ -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));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user