From 93f2568fe314151bfa8e619ed37f20292dbdbcc6 Mon Sep 17 00:00:00 2001 From: Gabriel Goller Date: Thu, 7 Mar 2024 15:41:56 +0100 Subject: [PATCH] docs: add examples for --exclude parameter Added two examples for the `--exclude` parameter of the `proxmox-backup-client backup` command. Signed-off-by: Gabriel Goller Signed-off-by: Thomas Lamprecht --- 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: