Backup your kvm guests managed by libvirt
OTHER License
Bot releases are hidden (Show)
Added a -c/--config
option to specify a custom config path.
Published by aruhier over 2 years ago
Cleanups and fixes in the CLI helpers.
Published by aruhier over 3 years ago
pending_info
.Published by aruhier over 3 years ago
Thanks a lot @arkadiam for your contributions!
Published by aruhier almost 4 years ago
virt-backup list testgroup
will list backups only for testgroup
.arrow
.Published by aruhier about 4 years ago
Quiesce can now be used for external snapshots. If enabled, libvirt will try to use the guest agent to freeze and unfreeze domain's mounted file systems. For more information, look at the quiesce option in libvirt: https://libvirt.org/manpages/virsh.html#snapshot-create
It can be enabled for an entire group or per domain. Look at the quiesce
option in the example config. If the domain to backup doesn't support this option, an error message will be shown, but the backup fallbacks to a non-quiesce snapshot.
Published by aruhier over 4 years ago
threads
parameter, allowing to use multithreading for the compression of a disk. Default to 0
, meaning single threads. -1
can be set to use all the cores detected on the system, otherwise set an integer for the number of wanted threads.Published by aruhier over 4 years ago
Published by aruhier over 4 years ago
This is a pretty big release in term of refactoring/cleanup, and will allow to add more features in the future, and make some testing way easier!
As packagers were introduced (see the changelog for details), modifications should be done in the configuration file. Any current configuration file should continue to work, but a warning will be print to advice the changes to be applied.
Change any usage of compress
and compress_lvl
to packager
and packager_opts
: https://github.com/aruhier/virt-backup/blob/9fac0813433cacb560a52224c695ef85e8548494/example/config.yml#L51
Features:
zstandard
to be installed in order to use it.Bug fixing:
0
, meaning that the backups would be kept indefinitely. This behavior was wanted, but is actually not intuitive. Now default to 5
kept backups for every period, if not set.Refactoring/Cleanup:
Published by aruhier about 5 years ago
Published by aruhier about 5 years ago
Published by aruhier over 5 years ago
threads
option in the config file.Published by aruhier over 5 years ago
Published by aruhier almost 6 years ago
Published by aruhier over 6 years ago
Add option -a|--all
to ls
to list all domains matching with the different group rules
Split the backup process, in order to test it more. Code is cleaner now
between the snapshot and the backup in itself.
Fix a bug with multiple disks: snapshots where not always cleaned (#12)
Published by aruhier almost 7 years ago
Published by aruhier almost 7 years ago
Published by aruhier almost 7 years ago
Published by aruhier over 7 years ago
Published by aruhier over 7 years ago