quak backup: print the date and time a run starts and finishes #256

Merged
clawbot merged 2 commits from issue-245-dated-backup-runs into next 2026-11-19 08:47:07 +01:00
Showing only changes of commit 94bef69403 - Show all commits
+6 -6
View File
@@ -370,12 +370,12 @@ once, however many collections hold it. An original the cache already holds is
copied from there instead. copied from there instead.
Progress goes to stderr: one line per original fetched, and a `FAILED` line for Progress goes to stderr: one line per original fetched, and a `FAILED` line for
each original or album that failed. The run starts with a `Started at` line each original or album that failed. The run starts with `Starting backup...` and
giving the local date and time, such as `Started at 2026-11-11 03:30:00 +0100`. a `Started at` line giving the local date and time, such as
It ends with a summary: a `Finished at` line in the same form, the counts and, `Started at 2026-11-11 03:30:00 +0100`. It ends with a summary: a `Finished at`
when any file failed, a `Failed files:` list of every failed file. With line in the same form, the counts and, when any file failed, a `Failed files:`
`--json`, the summary and the list are replaced by one JSON object on stdout. list of every failed file. With `--json`, the summary and the list are replaced
Its fields are: by one JSON object on stdout. Its fields are:
- `totalFiles`: how many distinct files the run covered, however many - `totalFiles`: how many distinct files the run covered, however many
collections hold each; collections hold each;