mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-15 16:27:20 +00:00
vzdump: remove usage examples involving 'notification-{target, policy}'
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>
This commit is contained in:
parent
508a36f599
commit
dd5a4927e7
@ -555,14 +555,12 @@ Use rsync and suspend/resume to create a snapshot (minimal downtime).
|
|||||||
# vzdump 777 --mode suspend
|
# vzdump 777 --mode suspend
|
||||||
|
|
||||||
Backup all guest systems and send notification mails to root and admin.
|
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
|
# 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.
|
Use snapshot mode (no downtime) and non-default dump directory.
|
||||||
|
|
||||||
# vzdump 777 --dumpdir /mnt/backup --mode snapshot
|
# vzdump 777 --dumpdir /mnt/backup --mode snapshot
|
||||||
@ -592,4 +590,3 @@ file system, using pipes
|
|||||||
ifdef::manvolnum[]
|
ifdef::manvolnum[]
|
||||||
include::pve-copyright.adoc[]
|
include::pve-copyright.adoc[]
|
||||||
endif::manvolnum[]
|
endif::manvolnum[]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user