59 Commits (0637c9320eae7d75aaae970030fd585a02e36f58)

Author SHA1 Message Date
Daniel Berteaud 0637c9320e Try to preserve sparse files when dumping with no compression 5 years ago
Daniel Berteaud f1704bb46d Remove redundant debug statement 5 years ago
Daniel Berteaud fc764cd421 Fix $glock scope 5 years ago
Daniel Berteaud 7f6f9977a6 Support pigz compression 6 years ago
Daniel Berteaud f641d7b636 Don't try to detect backing LVM volume is snapshot is disabled 6 years ago
Daniel Berteaud cec440f702 Various fixes in lock handling 6 years ago
Daniel Berteaud a7415fda91 Timeout for global exclusive lock after 180 sec (instead of 20) 6 years ago
Daniel Berteaud 02ba5c0f1a Add an exclusive lock to be sure we correctly count the number of running backups 6 years ago
Daniel Berteaud 6f0e9a2351 Add a max-backups param, to limit the numer of backups running at a time 6 years ago
Daniel Berteaud 495c575021 Wait longer after chunkfs umount 6 years ago
Daniel Berteaud 6d0239555f Fix typo (opt instead of opts) 7 years ago
Daniel Berteaud 5d799f95f9 Don't use double bracket for variable substitution, but double underscores 7 years ago
Daniel Berteaud 3242bb1a2b Add support for dumpcmd 7 years ago
Daniel Berteaud f2416113e5 Minor code/comment cleanup 9 years ago
Daniel Berteaud c075f1417a Fix lvs path 9 years ago
Daniel Berteaud 31e9426a08 Small typo 9 years ago
Daniel Berteaud 126d8bac8b Try to auto detect thin volumes 9 years ago
Daniel Berteaud 9eb10f07d0 Reset disks list 10 years ago
Daniel Berteaud 2a88085d61 Fix path for image based disks stored on / 10 years ago
Daniel Berteaud bf888f40e2 Better error msg if lockdir doesn't exist 10 years ago
Daniel Berteaud cd8e2a5bef Convert backupdir to an absolute path 10 years ago
Daniel Berteaud 0094010f05 Support thin volumes and snapshots 10 years ago
Daniel Berteaud 384bcd4587 Another message skiped if livebackup isn't possible and offline is disabled 11 years ago
Daniel Berteaud f30ec3d649 Remove snpashots after dump for image based disks 11 years ago
Daniel Berteaud 9d26a80866 Add help for --no-offline 11 years ago
Daniel Berteaud 139ae9d993 Revert previous commit where we tried 30 times to take a snapshot 11 years ago
Daniel Berteaud b7b5063982 Don't summarize disks if backup doesn't run 11 years ago
Daniel Berteaud e86cff1db1 Add a --no-offline flag to fail if livebackup isn't possible 11 years ago
Daniel Berteaud 9993307d61 Fix breaking the loop while creating a snapshot 11 years ago
Daniel Berteaud a4f65e3d78 Try up to 30 times to take the snapshot 11 years ago
Daniel Berteaud 3a5ebf960e Fix create_snapshot if snapshoting failed even without a lock 11 years ago
Daniel Berteaud d144e96880 Remove useless carriage return on debug output 11 years ago
Daniel Berteaud c10e185207 Fix warning (readline on unopened filehandle) 11 years ago
Daniel Berteaud 6d8dd735fa Manage LVM locks 11 years ago
Daniel Berteaud 7554436d6d Add comments for the shutdown and shutdowntimeout variables, and other minor fixes 11 years ago
Daniel Berteaud 3135bff066 Gracefully handle LVM snapshot error with file based disk: just like with block, warn and disable the live backup, but do not fail 11 years ago
Daniel Berteaud 9f89903d88 Correctly detect the filesystem type and fix issue detecting the backing volume when GlusterFS is used 11 years ago
Daniel Berteaud 2f7a875742 Fix a syntax error 11 years ago
Daniel Berteaud 5e05ebeb72 Simplify create_snapshot function 11 years ago
Daniel Berteaud 89a82b0b9a Fix LVM device name for file backed disks, so snapshot can be created. Also only use the nouuid for xfs filesystems 11 years ago
Daniel Berteaud 5cd7b832ed Always define $libvirt2 11 years ago
Daniel Berteaud bc17575780 Various comment fixes 12 years ago
Daniel Berteaud 5a12918bf2 Fix a syntax error 12 years ago
Daniel Berteaud b58b095631 Don't fail if the second node is unavailable, just act as the local libvirt is the only one 12 years ago
Daniel Berteaud 8f674c07d1 Minor fixes 12 years ago
Daniel Berteaud fc7380dfb3 Add the convert action: works like dump, but converts the source into qcow2 format (using qemu-img) instead off dd 12 years ago
Daniel Berteaud a06de6ee25 Use a uniq temporary mount point for each LVM snapshot, so you can have one VM with two disk, stored on two different LVM volumes 12 years ago
Daniel Berteaud c7273ea5c3 Call sync before taking an LVM snapshot 12 years ago
Daniel Berteaud ef0c33ae97 Support a two nodes cluster situation, where images are files on the host, backed by an LVM volume (and also support the case where GlusterFS is between the LVM and the guest images) 12 years ago
Daniel Berteaud 96f20cf6bd send /dev/null to lvm commands stdin, this prevent this message in EL 6.4: 'fdopen() failed: Invalid argument', with lvm snapshots failing to be created or removed 12 years ago