Momesso Andrea wrote:
Ok, but what about databases? Joomla has his own and mediawiki too...
Just dump it and copy it? Will it work?

It will work.  The way I do it with AutoMySQLBackup:

  http://members.lycos.co.uk/wipe_out/automysqlbackup

It's a simple but powerful script that backs up MySQL databases (all of them by specifying "all" or just a select few). It keeps 4 copies per month (one for each week), 7 copies per week (one for each day), one latest copy plus monthly ones. You put it in /etc/cron.daily, edit it and make it executable. It has documentation so you can probably figure it out easily.

If the main machine goes down, you import all the backed up databases on the other machine.

Another way to do it is to run MySQL on the same machine that does the NAT, but in this case you can not operate both machines behind it at the same time (that would mean the two Joomlas installed on both would try to access the same database at the same time; that won't work and will probably damage the database.)


Reply via email to