[NBLUG/talk] Duplicating a server
Todd Cary
todd at aristesoftware.com
Mon Nov 21 07:15:24 PST 2005
Sameer -
Yes! It worked very nicely; at least as far as I can tell. If I have
time today, I'll switch my router over to the 'standby server" and make
sure that it works. What I found interesting is that the
owner/group/permissions seem intact. Of course, I had manually
recreated the users on the "standby server".
Now some frosting on the cake would be a way to synchronize the
Users/Groups! Can this be done?
Also, I am asked for a password for the destination which would be a
problem for a crontab. This was true with
rsync -a -e ssh /home/ 192.168.0.22:/home/
and
rsync -a /home/ 192.168.0.22:/home/
Is there a way to eliminate the password? Maybe I missed it in the Man
pages.
Todd
P.S. Probably I am going to have to break out my old Perl book and write
some scripts to backup my Interbaase and MySQL databases...been a long time.
Sameer Verma wrote:
>Todd Cary wrote:
>
>
>
>>I know that I have asked this before and I received some answers, but
>>I have not found a simple solution yet...maybe there isn't one.
>>
>>Task: keep a backup server ready in case the main one dies.
>>
>>Though my server is not running critcal tasks, I along with my clients
>>have become dependent on it for FTP and testing of PHP apps.
>>Currently it is running Centos 4.1. My backup server which is offline
>>is running RH 8 (will not accept Centos) is in standby mode. From
>>time to time I tar the "/home" directory and untar it on the standby
>>server, but then I have to reset the owners and groups on the files.
>>Also, the dot files for the users may not be compatible (have not had
>>that problem so far).
>>
>>Is there some automated way to get this task done?
>>
>>
>>
>rsync usually does a good job of replicating files and directories.
>
>http://sunsite.dk/info/guides/rsync/rsync-mirroring.html
>
>Sameer
>
>
>
--
Ariste Software
2200 D Street Ext
Petaluma, CA 94952
(707) 773-4523
More information about the talk
mailing list