all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Gabriel Goller <g.goller@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup 1/2] docs: add examples for --exclude parameter
Date: Thu,  7 Mar 2024 15:41:56 +0100	[thread overview]
Message-ID: <20240307144200.260447-1-g.goller@proxmox.com> (raw)

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





             reply	other threads:[~2024-03-07 14:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07 14:41 Gabriel Goller [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240307144200.260447-1-g.goller@proxmox.com \
    --to=g.goller@proxmox.com \
    --cc=pbs-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal