Age | Commit message (Collapse) | Author | Files | Lines |
|
This will make it harder to accidentally use a string. Can still be
confused with a chunk id.
Sponsored-by: author
|
|
Change calls to set_message to pass ownership of the message, rather
than just letting it borrow the message.
Sponsored-by: author
|
|
|
|
Previously, we were showing "N/M", where N is the number of files
found in the current backup run, and M the number of files in the
previous backup. I found this confusing if the new run finds more
files than were in the previous run. Now we increment M if N goes
beyond it.
|
|
Previously it showed "N/M", where N was the number of files found in
the current backup run, and M was the number of files found in the
previous generation. But that made no sense for an initial backup, so
now we only show N.
|
|
|
|
It didn't actually show any progress and so was useless.
|
|
This makes it possible to later have different progress bars for
initial and incremental backup runs. However, for now the bars are
identical.
|
|
"obnam backup" now writes a summary like the following at the end:
status: OK
duration: 24
file-count: 119245
generation-id: ef353c79-a94f-4903-bd80-e741ea454c84
We can add more fields to that later, as needed and requested. This
was the data that's easily at hand.
|
|
This commit also splits up the src/cmd/backup.rs module into other,
smaller, more cohesive modules that are easier to understand and use.
|