[ovirt-users] Pre-snapshot scripts to run before live snapshot

Yaniv Kaul ykaul at redhat.com
Tue Mar 6 18:54:28 UTC 2018


On Mar 6, 2018 7:02 PM, "Gianluca Cecchi" <gianluca.cecchi at gmail.com> wrote:

Hello,
this thread last year (started by me... ;-) was very useful in different
aspects involved

http://lists.ovirt.org/pipermail/users/2017-March/080322.html

We did cover memory save or not and fsfreeze automatically done by guest
agent if installed inside the VM.
What about pre-snapshot scripts/operations to run inside guest, to have
application consistency?
Eg if I have a database inside the VM and I have scripted my backup job
involving live-snapshot (eg with the backup.py utility of the thread)


https://github.com/guillon/qemu-plugins/blob/master/scripts/qemu-guest-agent/fsfreeze-hook.d/mysql-flush.sh.sample

Y.


Can I leverage this kind of functionality with the oVirt guest agent?
Or is it mandatory to consider a remote connection to the VM (via ssh or
what for windows?) and execute the script/command/bat file?

What are you curently doing in this respect?

Thanks,

Gianluca

_______________________________________________
Users mailing list
Users at ovirt.org
http://lists.ovirt.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180306/f1c9feeb/attachment.html>


More information about the Users mailing list