Momesso Andrea <momesso.and...@gmail.com> [Wed, 8 Apr 2009 21:09:57 +0000] :
> On Wed, Apr 08, 2009 at 11:06:24PM +0300, Nikos Chantziaras wrote: > [..] > > >> 2) Keeping a copy of the working site on a virtual host in the > >> other machine allows the admin (my wife) to test new stuff, change > >> things, add modules, without putting in danger the main site. > > > > rsync the main machine to the second machine. You can rsync > > specific folders. If your website is in /var/www of the first > > machine, you can rsync that to the /var/www of the second for > > example. > > > >> What I ask is some advice on best practice to achieve the needed > >> result; I suppose that all I need is to rsync the webserver > >> directory in a virtual server on the slave machine and to dump the > >> databases, but I'm not sure this will be enough. > > > > rsync does the mirroring, NAT does the redirection of traffic. > > Those are the tools used by most to achieve what you described. > > > Ok, but what about databases? Joomla has his own and mediawiki too... > Just dump it and copy it? Will it work? > Maybe you can configure some kind of replication ? ß Rafał (ert16) Trójniak m...@il : ert...@gmail.com Jid : ert...@gmail.com GPG key-ID : 3F38968F 4711 E3BC B674 C841 BED8 0F8F 69D3 80CF 3F38 968F
signature.asc
Description: PGP signature