I have a rsync set to run every morning at 5am.
sudo rsync -xrltDu --delete /home/mirthen/ /long/backup/folder/name/
It works for the most part, however it will once in a while hang and never finish when files change on the source system. For example .mozilla which contains my firefox settings and could change files, remove files, add new files all while rsync is running and building its file list for copy.
I will usually get messages about a file vanishing, which is fine as they were temp files in most any case. There has never been any actual error leading me to know why rsync never finishes its copy/backup. It will run, might pop a message about a file vanish, maybe 10+ such messages, and then just sit there taking up a little bit of cpu/mem. Then the next day at 5am i get yet another set of rsync processes running again, and the same exact thing happens.
I have run a full rsync using the same command, and while the system is doing all its file changes, and had it complete just fine. Just a good percent of the time it will hang and not give me a clue as to why.
Is there some way to get it to do the backups on a live system without hanging up, something i am missing. I did have it previously set to do 'rsync -au --delete ....' however moving it across the network to a system with different users I wanted to just skip it trying to keep group/user settings.
There is of course more then just the mozilla folder that changes during the rsync, quite a few other processes running at any given time that will constantly be changing at 5am.
If it matters, Linux Mint KDE 17.2 64bit. Destination is Ubuntu Server 14.04 64bit