]> git.proxmox.com Git - proxmox-offline-mirror.git/commit
cli: add `mirror snapshot create-all` command
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 16 Sep 2022 10:35:35 +0000 (12:35 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 16 Sep 2022 12:21:57 +0000 (14:21 +0200)
commitffc3ed4e0652d170e4b938342be0de581f4513ed
treea93374780f399129ed2b4ce1d66a168a05f96303
parent047248215e5a03b9c3d58ed462283d2f21098a29
cli: add `mirror snapshot create-all` command

that creates a new snapshot for each configured mirror, collecting the
results and printing a summary at the end. this should be suitable for
usage in a cron job or timer-triggered unit, with no output on stderr
for 100% OK execution runs.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/bin/proxmox_offline_mirror_cmds/mirror.rs