Re: Veritas snapshot + rsync vs. rsync alone
I did a test yesterday in which I used a perl script to write to 10
files - five text files, five "binary" files (random numbers with no
line-feeds - I did put in 'EOL' text at the end of the print statements
so I could see where the break-off points were. I wrote random amount
of data to all 10 in a loop, repeatedly.
Then, while the above script was running, I did a SnapShot of the
volume (a mirrored volume under Veritas VM on a Solaris 9 Ultra II +
A5100 StorEdge), and then did rsync to the remote host. I then
examined the 10 files, and saw that all of the files had a nice cut off
at the end of the line (or "EOL" on the "binary" files) on the last
line of the file.
Next, I repeated the process, skipping the SnapShot step. Instead, I
just did rsync -a on the active volume to the remote host. When I
examined the 10 files, again they were all cleanly terminated at the
end of a line (or "EOL" on the "binary" files).
I was happily surprised at this result.
Boyd
|