]> git.proxmox.com Git - proxmox-backup.git/commitdiff
docs: remote sync: adapt to changed filter param and add some examples
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Nov 2021 09:33:51 +0000 (10:33 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 18 Nov 2021 09:40:19 +0000 (10:40 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
docs/managing-remotes.rst

index e3b13d5253728f30cd5bbbba2345c8e3b9ff6f7d..9f07abb36fc951d261490caba04dbf080023a52f 100644 (file)
@@ -90,11 +90,22 @@ the local datastore as well. If the ``owner`` option is not set (defaulting to
 ``root@pam``) or is set to something other than the configuring user,
 ``Datastore.Modify`` is required as well.
 
-If the ``groups`` option is set, only backup groups matching at least one of
-the specified criteria (backup type, full group identifier, or a regular
-expression matched against the full group identifier) are synced. The same
-filter is applied to local groups for handling of the ``remove-vanished``
-option.
+If the ``group-filter`` option is set, only backup groups matching at least one
+of the specified criteria are synced. The available criteria are:
+
+* backup type, for example to only sync groups of the `ct` (Container) type:
+    .. code-block:: console
+
+     # proxmox-backup-manager sync-job update ID --group-filter type:ct
+* full group identifier
+    .. code-block:: console
+
+     # proxmox-backup-manager sync-job update ID --group-filter group:vm/100
+* regular expression matched against the full group identifier
+.. todo:: add example for regex
+
+The same filter is applied to local groups for handling of the
+``remove-vanished`` option.
 
 .. note:: A sync job can only sync backup groups that the configured remote's
   user/API token can read. If a remote is configured with a user/API token that