]> git.proxmox.com Git - proxmox-backup.git/commit
sync job: pull: improve log output
authorStefan Hanreich <s.hanreich@proxmox.com>
Tue, 18 Apr 2023 14:59:46 +0000 (16:59 +0200)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Mon, 24 Apr 2023 13:18:58 +0000 (15:18 +0200)
commit71db16151dc4338fc7c48e239136dd928a117a60
treebc46d7ae196c5b583efa28a60ab49964b9d06e94
parent9b67352abcd275bb51df3e612072f43948a59dad
sync job: pull: improve log output

Adding an opening line for every group makes parsing the log easier.

We can also remove the 're-sync [...] done' line, because the next
line should be a progress line anyway.

The new output for the sync job/pull logs looks as follows:

- skipped already synced (happens in most jobs, except for first run)
- re-sync of last synced snapshot (if it still exists on source)
- skipped because of transfer-last (if set and skips something)
- sync of new snapshots (if they exist)

Suggested-By: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Signed-off-by: Stefan Hanreich <s.hanreich@proxmox.com>
src/server/pull.rs