From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by lists.proxmox.com (Postfix) with ESMTPS id B129A913BA for ; Wed, 14 Feb 2024 10:07:48 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id 9638F21A for ; Wed, 14 Feb 2024 10:07:48 +0100 (CET) Received: from proxmox-new.maurer-it.com (proxmox-new.maurer-it.com [94.136.29.106]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by firstgate.proxmox.com (Proxmox) with ESMTPS for ; Wed, 14 Feb 2024 10:07:47 +0100 (CET) Received: from proxmox-new.maurer-it.com (localhost.localdomain [127.0.0.1]) by proxmox-new.maurer-it.com (Proxmox) with ESMTP id 4B6834810B for ; Wed, 14 Feb 2024 10:07:47 +0100 (CET) From: Lukas Wagner To: pve-devel@lists.proxmox.com Date: Wed, 14 Feb 2024 10:07:38 +0100 Message-Id: <20240214090738.57228-1-l.wagner@proxmox.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SPAM-LEVEL: Spam detection results: 0 AWL -0.004 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record T_SCC_BODY_TEXT_LINE -0.01 - Subject: [pve-devel] [PATCH docs] vzdump: remove usage examples involving 'notification-{target, policy}' X-BeenThere: pve-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox VE development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2024 09:07:48 -0000 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 --- 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