[pbs-devel] [PATCH proxmox-backup v2 3/3] docs: document new include/exclude paramenter
Philipp Hufnagl
p.hufnagl at proxmox.com
Thu Nov 9 15:43:29 CET 2023
Adding the newly introduced optional include/exclude parameter to the
PBS documentation.
Signed-off-by: Philipp Hufnagl <p.hufnagl at proxmox.com>
---
docs/managing-remotes.rst | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/docs/managing-remotes.rst b/docs/managing-remotes.rst
index 1c52e120..2f08c3b1 100644
--- a/docs/managing-remotes.rst
+++ b/docs/managing-remotes.rst
@@ -116,6 +116,14 @@ of the specified criteria are synced. The available criteria are:
The same filter is applied to local groups, for handling of the
``remove-vanished`` option.
+A ``group-filter`` can be inverted by adding ``exclude:`` to its beginning.
+
+* Regular expression example, excluding the match:
+ .. code-block:: console
+
+ # proxmox-backup-manager sync-job update ID --group-filter exclude:regex:'^vm/1\d{2,3}$'
+
+If include as well as exclude filters are used, all include filters will be run before the exclude filters.
.. note:: The ``protected`` flag of remote backup snapshots will not be synced.
Namespace Support
--
2.39.2
More information about the pbs-devel
mailing list