public inbox for pbs-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pbs-devel] [PATCH proxmox-backup 1/2] docs: add examples for --exclude parameter
@ 2024-03-07 14:41 Gabriel Goller
  2024-03-07 14:41 ` [pbs-devel] [PATCH proxmox-backup 2/2] docs: added shell prompt Gabriel Goller
  2024-03-25 17:03 ` [pbs-devel] applied-series: [PATCH proxmox-backup 1/2] docs: add examples for --exclude parameter Thomas Lamprecht
  0 siblings, 2 replies; 3+ messages in thread
From: Gabriel Goller @ 2024-03-07 14:41 UTC (permalink / raw)
  To: pbs-devel

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

Signed-off-by: Gabriel Goller <g.goller@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





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-03-25 17:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-07 14:41 [pbs-devel] [PATCH proxmox-backup 1/2] docs: add examples for --exclude parameter Gabriel Goller
2024-03-07 14:41 ` [pbs-devel] [PATCH proxmox-backup 2/2] docs: added shell prompt Gabriel Goller
2024-03-25 17:03 ` [pbs-devel] applied-series: [PATCH proxmox-backup 1/2] docs: add examples for --exclude parameter Thomas Lamprecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal