From: Thomas Lamprecht <t.lamprecht@proxmox.com>
To: Christian Ebner <c.ebner@proxmox.com>, pbs-devel@lists.proxmox.com
Subject: Re: [PATCH 0/7] client: add scheduled backup jobs
Date: Tue, 27 Oct 2026 11:47:16 +0100 [thread overview]
Message-ID: <97c6f153-3f83-40bf-b191-08067456d09e@proxmox.com> (raw)
In-Reply-To: <9809fd7b-f21a-4df0-bb6c-5bba0f7ecad4@proxmox.com>
Am 22.10.26 um 14:58 schrieb Christian Ebner:
> While skimming trough the patches a few ideas for potential improvements
> came to mind.
Thanks for your input, in general I'd try to not add too much scope creep
here, at least not for anything that can't be still (easily) added later.
> * Allowing to clone an already existing backup job: This would help to
> ease setup for multiple jobs with recurring patterns, e.g. only differing
> in namespace and backup specs.
potentially for the future, for now it's copying a few lines of text, not
the best UI/UX but at least a narrow scoped edited in a single config file.
> * Adding a connection test for a configured job: It is currently possible
> to setup a job with incorrect connection information for the PBS. I think
> it would be nice to have a command to perform a basic connection test
> without having to actually perform a backup run right away.
A `job run <id> --dry-run` basically does that (and a bit more). But that
might be actually nice in general to have independent of jobs but with an
optional job argument to take the repo args from there, or one for generic
case and the dry-run for jobs.
> * Splitting of the target config from the job config: It might make sense
> to have the target configurable independent of the job. And make it
> reusable for all the client commands not just the jobs itself. Although
> not so sure about this part, having all the config in the same place has
> advantages as well, and there will mostly be only a single target.
Might be convenient, but adds also complexity by adding another target
selection angle to existing repo as single string and atoms (and mix of
both). OTOH, if we call it remote it would reuse a concept of what we got
on servers.
But, we would not need a new config file in any case, as such
targets/remotes/... can be their own section type. That makes updating the
config in a consistent and atomic manner also much (!) easier than having to
synchronize/lock multiple files. So I'd prefer a single config file, and as
mentioned, not a must to decide if we want this now or not, can be easily
added later.
prev parent reply other threads:[~2026-10-27 10:47 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-14 10:51 [PATCH 0/7] client: add scheduled backup jobs Thomas Lamprecht
2026-10-14 10:51 ` [PATCH 1/7] client: backup specification: widen BackupDetectionMode derives Thomas Lamprecht
2026-10-14 10:51 ` [PATCH 2/7] client: job: add backup job config and state types Thomas Lamprecht
2026-10-14 10:51 ` [PATCH 3/7] client: job: add job runner and scheduled backup daemon Thomas Lamprecht
2026-10-14 10:51 ` [PATCH 4/7] client: job: add job management CLI subcommands Thomas Lamprecht
2026-10-14 10:51 ` [PATCH 5/7] client: job: ship systemd user unit for the scheduler Thomas Lamprecht
2026-10-14 10:51 ` [PATCH 6/7] client: job: add battery-check example pre-run hook Thomas Lamprecht
2026-10-14 10:51 ` [PATCH 7/7] docs: client: document scheduled backup jobs Thomas Lamprecht
2026-10-22 12:58 ` [PATCH 0/7] client: add " Christian Ebner
2026-10-27 10:47 ` Thomas Lamprecht [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=97c6f153-3f83-40bf-b191-08067456d09e@proxmox.com \
--to=t.lamprecht@proxmox.com \
--cc=c.ebner@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox