[pbs-devel] [PATCH proxmox-backup 1/2] docs: add examples for --exclude parameter

Gabriel Goller g.goller at proxmox.com
Thu Mar 7 15:41:56 CET 2024


Added two examples for the `--exclude` parameter of the
`proxmox-backup-client backup` command.

Signed-off-by: Gabriel Goller <g.goller at proxmox.com>
---
 docs/backup-client.rst | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/docs/backup-client.rst b/docs/backup-client.rst
index f6b459c0..e6594e98 100644
--- a/docs/backup-client.rst
+++ b/docs/backup-client.rst
@@ -267,6 +267,18 @@ Restoring this backup will result in:
     restored/subfolder1:
     .  ..  file2
 
+The same syntax can also be used directly in the cli with the ``--exclude``
+parameter. For example:
+
+.. code-block:: console
+
+    # proxmox-backup-client backup.pxar:./linux --exclude /usr
+
+Multiple paths can be excluded like this:
+
+.. code-block:: console
+
+    # proxmox-backup-client backup.pxar:./linux --exclude=/usr --exclude=/rust
 
 .. _client_encryption:
 
-- 
2.43.0





More information about the pbs-devel mailing list