For volume backups you need something like snapshots. If you take a snapshot A of a live volume L that snapshot stays at that moment in time and you can rsync that to another system or use something like deltacp.pl to copy it. The usual process is to delete the snapshot once its copied and than repeat the process again when the next backup is required. That process does require rsync/deltacp to read the complete
volume on both systems which can take a long time. I was kicking around the idea to try and handle snapshot deltas better. The idea is that you could take your initial snapshot A then sync that snapshot to your backup system. At a later point you could take another snapshot B. Because snapshots contain the copies of the original data at the time of the snapshot and unmodified data points to the Live volume it is possible to tell what blocks of data have changed since the snapshot was taken. Now that you have a second snapshot you can in essence perform a diff on the A and B snapshots to get only the blocks that changed up to the time that B was taken. These blocks could be copied to the backup image and you should have a clone of the B snapshot. You would not have to read the whole volume image but just
the changed blocks dramatically improving the speed of the
backup. At this point you can delete the A snapshot and promote the B
snapshot to be the A snapshot for the next backup round. On 03/23/2017 03:53 PM, Gandalf
Corvotempesta wrote:
-- Alvin Starr || voice: (905)513-7688 Netvel Inc. || Cell: (416)806-0133 alvin@xxxxxxxxxx || |
_______________________________________________ Gluster-users mailing list Gluster-users@xxxxxxxxxxx http://lists.gluster.org/mailman/listinfo/gluster-users