New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
minimal steps for setting up an rsync mirror
I would like to have one vps mirror one folder to an other regularly.
I have been reading about it and it was Debian's "Setting up a Debian mirror" site which made me quite confused.
https://www.debian.org/mirror/ftpmirror
https://www.debian.org/mirror/push_mirroring
https://www.debian.org/mirror/push_server
Can someone explain me, what are the required steps to make an rsync mirror, and what is the difference between push and pull mirroring?
What I would like to do is to have the static files folder of a webserver mirrored to an other (and then serve the files from there). On which host should I install rsync daemon and what configuration should I use?
Comments
In a push mirror the mirror you are running is notified whenever and update comes out and then it gets the latest version at that second.
In simple pull mirror it runs a simple rsync command once or twice a day to check for updates
But for my own purposes, can I not actually run the script on the master and have the slave as an rsync deamon? Or this is not efficient?