all lists on 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

* [pbs-devel] [PATCH proxmox-backup 2/2] docs: added shell prompt
  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 ` Gabriel Goller
  2024-03-25 17:03 ` [pbs-devel] applied-series: [PATCH proxmox-backup 1/2] docs: add examples for --exclude parameter Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Gabriel Goller @ 2024-03-07 14:41 UTC (permalink / raw)
  To: pbs-devel

On this `ls` command the shell prompt ('#') was missing.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
---
 docs/backup-client.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/backup-client.rst b/docs/backup-client.rst
index e6594e98..00a1abbb 100644
--- a/docs/backup-client.rst
+++ b/docs/backup-client.rst
@@ -257,7 +257,7 @@ Restoring this backup will result in:
 
 .. code-block:: console
 
-    ls -aR restored
+    # ls -aR restored
     restored/:
     .  ..  .pxarexclude  subfolder0  subfolder1
 
-- 
2.43.0





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

* [pbs-devel] applied-series: [PATCH proxmox-backup 1/2] docs: add examples for --exclude parameter
  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 ` Thomas Lamprecht
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Lamprecht @ 2024-03-25 17:03 UTC (permalink / raw)
  To: Proxmox Backup Server development discussion, Gabriel Goller

Am 07/03/2024 um 15:41 schrieb Gabriel Goller:
> 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(+)
> 
>

applied series, thanks!




^ 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 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