mirror sites with sarge
To start with.
I have a set of folders "A" on a computer "Sarge1".
I have another computer "Sarge2" with a copy of the same set of folders "A".
The contents of the set of folders "A" on "Sarge1" gets deleted,
updated, modified continously.
How can I get those changes on to the set of folders "A" on "Sarge2"
as soon as possible??
i.e The changes to "A" on "Sarge1" should be propogated to "A" on
"Sarge2" as quickly as possible.
#rsync -avz root@Sarge1:A root@Sarge2:A
continously as a cronjob the best way to do it???
if so how will I give the password for "root" on "Sarge1" while
executing the above command in a shell script as a cronjob??
Could someone please guide me if there are better ways of doing the
propagation of changes??
Thankyou so much