1 |
I'm not a professional admin, but I run a web server that was supposed |
2 |
to be a small system for a couple of users (my wife and her students), |
3 |
and now became something bigger with some amount of traffic, and some |
4 |
people rely on it for critical data. |
5 |
|
6 |
Since the scope of the site changed I'd like to add some extra security. |
7 |
As now all I have are dayly snapshot backup of the server hard disk on |
8 |
an external disk and weekly I move one of those snapshot on a disk that |
9 |
I store off site and is used only for this scope. |
10 |
|
11 |
In the same lan I also run another machine that I use as a home server |
12 |
for personal purpose. |
13 |
I'd like to keep a mirror of all the webapps running on the main server |
14 |
in this machine for two puroposes: |
15 |
|
16 |
1) Have a backup working site, so that if something goes wrong, in the |
17 |
time I reinstall from backup, fix hardware or wathever, I can redirect |
18 |
the traffic on the salve machine (possibly in read only mode). |
19 |
|
20 |
2) Keeping a copy of the working site on a virtual host in the other |
21 |
machine allows the admin (my wife) to test new stuff, change things, add |
22 |
modules, without putting in danger the main site. |
23 |
|
24 |
What I ask is some advice on best practice to achieve the needed result; |
25 |
I suppose that all I need is to rsync the webserver directory in a |
26 |
virtual server on the slave machine and to dump the databases, but I'm |
27 |
not sure this will be enough. |
28 |
|
29 |
The server runs not only static content, but also a Joomla site, a |
30 |
mediawiki wiki, Moodle ecc. |
31 |
|
32 |
Any idea or suggestion from more experienced admins would be |
33 |
appreciated, thanks in advance. |
34 |
|
35 |
--- |
36 |
TopperH |
37 |
http://topperh.blogspot.com |