forked from abbbi/vmsync
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathChangelog
More file actions
128 lines (106 loc) · 3.68 KB
/
Copy pathChangelog
File metadata and controls
128 lines (106 loc) · 3.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
Version 0.24
-----------
* #5: replace only qcow related disk pathes if --target-disk-path is
specified
* #6: -start keeps VM in paused mode when replication failed
Version 0.23
-----------
* Add information about last checkpoint used for sync and timestamp to the
target virtual machine XML metadata values.
* On incremental syncs, verify the checkpoint chain is in line , use the
timestamp value from the metadata field to also check if files have been
changed since the last synchronization. Fail if both cases happen.
Note: The system clocks of both systems involved must be synchronized
correctly, for example with NTP.
Version 0.21
-----------
* Add -target-disk-path parameter: place disks on target system on different
path, adjust domain xml accordingly.
Version 0.20
-----------
* Small code cleanups
Version 0.19
-----------
* Check for active block job on source domain before attempting to start any
other operation, fail early in case an already existing block job
is running and abort.
Version 0.18
-----------
* Add version and parameter to log output.
Version 0.17
-----------
* Set cleanup commands before waiting for NBD endpoint to appear,
so qemu-nbd processes are stopped even if NBD connection might
fail due to network constraints.
Version 0.16
-----------
* Parse disc discard mode from libvirt disk xml and use it for the target nbd
server.
* Use original cluster_size of qemu images for the target images.
Version 0.15
-----------
* Re-Define VM with new configuration on the target system after each
synchronization so the vm configuration does always represent the version
from the source system.
* Add builds for Debian related distros.
Version 0.14
-----------
* Colorize log output, can be disabled by using NO_COLOR environment
variable.
* If VM is started in pause mode, skip attempt to freeze filesystems as
qemu agent is not reachable in these cases.
Version 0.13
-----------
* Add -start option: if VM is not running, start in PAUSED mode to allow
replication, destroy after replication has finished.
Version 0.12
-----------
* Use multiple concurrent processes for syncing, one worker for each disk.
Version 0.11
-----------
* rework logging facility
Version 0.10
-----------
* use libvirt.org/libvirtxml for parsing or modifying domain XML in case
different name should be used.
* move some logging statement so debug (enabled via -debug true)
* Code cleanups
* Thaw freezed filesystems if checkpoint creation fails.
Version 0.9
-----------
* Use temporary images for incremental sync on target system with pointing to
the full sync as base image. After successful copy of the changed regions,
commit the changes to the base image and remove the temporary qcow file.
Version 0.8
-----------
* Get nbd maximum request size from source and target and use one that
both backends support.
* Enable pprof endpoint if PROFILE=development is set.
* Start qemu-nbd process on target using --discard=unmap
Version 0.7
-----------
* Add filesystem freeze/thaw functions using qemu guest agent, issue warning
in case action fails.
* Change wording for stopping the backup job
Version 0.6
-----------
* Remove obsolete -output-dir option
Version 0.5
-----------
* Log skipped devices
Version 0.4
-----------
* Delete parent checkpoints if sync is successful, keep only one checkpoint
defined for source VM which will then be synced on next execution.
Version 0.3
-----------
* Fix throughput shown after change to slog
* Do not attempt any action on target system in case no dirty extents are
found during copy.
Version 0.2
-----------
* Check if source domain is running before attempting sync
* Use slog for logging
Version 0.1
-----------
* Initial Release