Skip to content

Instantly share code, notes, and snippets.

View alexyz79's full-sized avatar

Alexandre Pires alexyz79

View GitHub Profile

Keybase proof

I hereby claim:

To claim this, I am signing this object:

@alexyz79
alexyz79 / vm-live-backup.sh
Created January 11, 2018 23:48
KVM Live Backup
#!/bin/bash
# Virtual Machine Live Disk Backup
# Original source: http://wiki.libvirt.org/page/Live-disk-backup-with-active-blockcommit
#
# Author: Alexandre Pires <c.alexandre.pires@gmail.com>
# Web: https://blog.alexpires.me
#
# This script is shared as-is. Do whatever you want.
# Default base backup path -- this directory will be created if it does not already exist