Open robinsmidsrod opened 8 years ago
These items certainly could be excluded. That said, I've not had any reports that this is causing an issue in cloning a node. Have you found something needing to be excluded that is otherwise causing an issue or is this more of an enhancement?
There is one file in /proc that is related to your memory map, which I think should never be copied. I've noticed while I was migrating nodes that the second run through the data takes forever, even if all processes have been stopped. This suggests that memory-related files are checked and copied.
/run and /var/run are usually symlinked to the same location and wiped during reboot, so I don't see a big reason why they would need copying, as they contain runtime-files used by running processes.
I noticed in the exclusion list that /run, /var/run and /proc are not excluded when running rsync. Shouldn't they be, at least on Debian/Ubuntu machines?