Notification after VM Restore

joshiyamamoto

New Member
Aug 8, 2025
5
1
3
Hello folks,

following problem right now. Is their a way to send a notification maybe via email when someone does a VM restore?


best regards
 
Right now, restores are not included in the built-in notifications.

As a starting point, you could monitor journalctl for restore entries and act upon that event (i.e. send an email).

/usr/bin/journalctl -f -n 0 | /usr/bin/grep --line-buffered "vzrestore"

Hope this helps.
 
Right now, restores are not included in the built-in notifications.

Thanks I will try it out

As a starting point, you could monitor journalctl for restore entries and act upon that event (i.e. send an email).

/usr/bin/journalctl -f -n 0 | /usr/bin/grep --line-buffered "vzrestore"

Hope this helps.