Skip to content

Instantly share code, notes, and snippets.

@Mstaaravin
Created January 26, 2015 18:20
Show Gist options
  • Save Mstaaravin/1b899e3b68b978b9cbd3 to your computer and use it in GitHub Desktop.
Save Mstaaravin/1b899e3b68b978b9cbd3 to your computer and use it in GitHub Desktop.
post: KVM: Full backups de virtual disks (qcow2) con virsh + rsync
#motd file=/etc/motd
#log file=/var/log/rsyncd
# for pid file, do not use /var/run/rsync.pid if
# you are going to run rsync out of the init.d script.
# pid file=/var/run/rsyncd.pid
#syslog facility=daemon
#socket options=
use chroot = yes
max connections = 10
lock file = /var/lock/rsyncd
transfer logging = no
timeout = 600
refuse options = checksum dry-run
dont compress = *.gz *.tgz *.zip *.z *.rpm *.deb *.iso *.bz2 *.tbz *.jpg *.png *.gif *.swf *.img
[libvirt]
comment = /var/lib/libvirt
path = /var/lib/libvirt
uid = root
gid = root
hosts allow = 172.16.10.234
hosts deny = *
read only = yes
list = yes
strict modes = yes
ignore errors = yes
ignore nonreadable = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment