Originally Posted by
TheFu
Boot sector? That would be missing, definitely..
I was cloning running systems : the rync source would be / at a model system, the target / on another machine. What I did was install a minimal system on the target machine, enough to execute rsync on it. So it had a bootsector, and I wasn't interested in anything below filesystem level anyway. The point of the exercise was more of a "can i replicate a configuration" rather than "can I setup an OS from scratch by way of rsync"
The idea I was playing with at the time was finding mechanisms to deploy identical systems, or to set a system to a known state, by overwriting any changes by rsyncing a known good system, or to deploy config changes by applying them to 1 "model" system and rsync that system to a number of targets, that sort of stuff.
BTW -
-e ssh is redundant these days. ssh is the default for long-time-now - like 10 yrs.
the actual command i used was something like
Code:
rsync -rpoglHtuq \
--exclude=/proc --exclude=/tmp --exclude=/sys --exclude=/home --exclude=/root \
remotemodel:/ /
Bookmarks