diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-12-23 11:02:24 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-12-23 11:02:24 +0200 |
commit | 543614a33aad1646cbb25af323e8374c88912203 (patch) | |
tree | d631425a1d1332280cc327074cfa87f465c5dfab /src/cmd/backup.rs | |
parent | 8f98fb2c4fcee7310985c011cc7f8fe6153c09bb (diff) | |
download | obnam2-543614a33aad1646cbb25af323e8374c88912203.tar.gz |
feat: re-enable progress bars for backup and restore
Diffstat (limited to 'src/cmd/backup.rs')
-rw-r--r-- | src/cmd/backup.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/backup.rs b/src/cmd/backup.rs index 178684f..3303566 100644 --- a/src/cmd/backup.rs +++ b/src/cmd/backup.rs @@ -23,7 +23,7 @@ pub fn backup(config: &ClientConfig, buffer_size: usize) -> anyhow::Result<()> { // The fetching is in its own block so that the file handles // get closed and data flushed to disk. let mut gen = Generation::create(&dbname)?; - let progress = create_progress_bar(GUESS_FILE_COUNT, false); + let progress = create_progress_bar(GUESS_FILE_COUNT, true); progress.enable_steady_tick(100); gen.insert_iter(FsIterator::new(&config.root).map(|entry| { progress.inc(1); |