public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [pve-devel] [PATCH docs] vzdump: remove usage examples involving 'notification-{target, policy}'
@ 2024-02-14  9:07 Lukas Wagner
  2024-02-20 15:15 ` [pve-devel] applied: " Thomas Lamprecht
  0 siblings, 1 reply; 2+ messages in thread
From: Lukas Wagner @ 2024-02-14  9:07 UTC (permalink / raw)
  To: pve-devel

Also clarify in one example that using `--mailto` will bypass the
notification system (at least from the user's perspective).

Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
---
 vzdump.adoc | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

diff --git a/vzdump.adoc b/vzdump.adoc
index 24a3e80..b5bbac7 100644
--- a/vzdump.adoc
+++ b/vzdump.adoc
@@ -555,14 +555,12 @@ Use rsync and suspend/resume to create a snapshot (minimal downtime).
  # vzdump 777 --mode suspend
 
 Backup all guest systems and send notification mails to root and admin.
+Due to `mailto` being set and `notification-mode` being set to `auto` by
+default, the notification mails are sent via the system's `sendmail`
+command instead of the notification system.
 
  # vzdump --all --mode suspend --mailto root --mailto admin
 
-Backup guest 777 and notify via the `notify-admins` notification target on
-failure.
-
- # vzdump 777  --notification-target notify-admins --notification-policy failure
-
 Use snapshot mode (no downtime) and non-default dump directory.
 
  # vzdump 777 --dumpdir /mnt/backup --mode snapshot
@@ -592,4 +590,3 @@ file system, using pipes
 ifdef::manvolnum[]
 include::pve-copyright.adoc[]
 endif::manvolnum[]
-
-- 
2.39.2





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

* [pve-devel] applied: [PATCH docs] vzdump: remove usage examples involving 'notification-{target, policy}'
  2024-02-14  9:07 [pve-devel] [PATCH docs] vzdump: remove usage examples involving 'notification-{target, policy}' Lukas Wagner
@ 2024-02-20 15:15 ` Thomas Lamprecht
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2024-02-20 15:15 UTC (permalink / raw)
  To: Proxmox VE development discussion, Lukas Wagner

Am 14/02/2024 um 10:07 schrieb Lukas Wagner:
> Also clarify in one example that using `--mailto` will bypass the
> notification system (at least from the user's perspective).
> 
> Signed-off-by: Lukas Wagner <l.wagner@proxmox.com>
> ---
>  vzdump.adoc | 9 +++------
>  1 file changed, 3 insertions(+), 6 deletions(-)
> 
>

applied, thanks!




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

end of thread, other threads:[~2024-02-20 15:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-14  9:07 [pve-devel] [PATCH docs] vzdump: remove usage examples involving 'notification-{target, policy}' Lukas Wagner
2024-02-20 15:15 ` [pve-devel] applied: " 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