From: Stefan Hanreich <s.hanreich@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 0/3] Add prune options to sync jobs
Date: Fri, 4 Nov 2022 15:30:51 +0100 [thread overview]
Message-ID: <20221104143054.75419-1-s.hanreich@proxmox.com> (raw)
This patch adds the possibility of configuring prune options for sync jobs. This
runs a prune job after a successful sync job that prunes the backup groups that
got synced by the respective sync job (meaning this respects group-filter,
max-depth, target namespace and so on).
The prune options can also be specified when running a single pull command.
I also added the possibility of configuring this via the Web UI in the same way
as configuring a regular prune job.
The new options are documented in the Sync Job documentation as well.
Stefan Hanreich (3):
Add KeepOptions to Sync Job settings
add KeepOptions to Web UI of Sync Jobs
Add documentation for prune options in Sync Jobs
docs/managing-remotes.rst | 14 +++++++
pbs-api-types/src/jobs.rs | 7 +++-
src/api2/config/sync.rs | 66 +++++++++++++++++++++++++++--
src/api2/pull.rs | 11 ++++-
src/bin/proxmox-backup-manager.rs | 20 +++++++--
src/server/pull.rs | 70 +++++++++++++++++++++++++++----
www/window/SyncJobEdit.js | 5 +++
7 files changed, 175 insertions(+), 18 deletions(-)
--
2.30.2
next reply other threads:[~2022-11-04 14:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 14:30 Stefan Hanreich [this message]
2022-11-04 14:30 ` [pbs-devel] [PATCH proxmox-backup 1/3] Add KeepOptions to Sync Job settings Stefan Hanreich
2022-11-07 11:00 ` Wolfgang Bumiller
2022-11-23 9:40 ` Stefan Hanreich
2022-11-28 10:10 ` Wolfgang Bumiller
2022-11-04 14:30 ` [pbs-devel] [PATCH proxmox-backup 2/3] add KeepOptions to Web UI of Sync Jobs Stefan Hanreich
2022-11-04 14:30 ` [pbs-devel] [PATCH proxmox-backup 3/3] Add documentation for prune options in " Stefan Hanreich
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=20221104143054.75419-1-s.hanreich@proxmox.com \
--to=s.hanreich@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.