rsync data usage
Posted by pentangleit@reddit | linux | View on Reddit | 3 comments
Hi all, and sorry for a question that is probably trivial to some.
I am currently running an XCP-ng server on one site, and backing up VMs to a repository on that site. That bit's working fine.
I have tried creating a backup job there to also push the backups to an offsite location, but they're appearing to take shedloads of bandwidth and do very little. So, I wondered if I could replace that with rsync.
My question is - with rsync being able to synchronise A to B, following the initial sync does it come down to individual files? file blocks? or what? how does it manage to keep both ends in sync without sending/receiving a pile of data?
AutoModerator@reddit
This submission has been removed due to receiving too many reports from users. The mods have been notified and will re-approve if this removal was inappropriate, or leave it removed.
This is most likely because:
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
daemonpenguin@reddit
Yes, rsync works on the file level.
By only transferring file which have changed since the last sync. From the top of the rsync manual page: "Rsync finds files that need to be transferred using a "quick check" algorithm (by default) that looks for files that have changed in size or in last-modified time."
Keely369@reddit
By default, files.
Looks like you can configure it to do blocks but I've not done that and it comes with a warning.
https://askubuntu.com/questions/1323004/how-to-get-rsync-to-synchronize-only-new-blocks-for-blockchain