[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] backing-up using rsync+ssh



Hi all,

(sending again as lines are not properly arranged earlier mail)

I am preparing a raq3 server as a back-up server for another raq3 server
using rsync+ssh.

My intention is that if first raq3 server is down I should be able to down
the faulty server, change it IP address & hostname to the backup server so
that the back-up server will become online within some minutes with latest
mails & mail queues.

I thought of synchronizing the following directories:

/root/
/home/
/var/log/
/usr/local/majordomo/
/var/vacation
/var/spool/mail
/var/spool/queue
/usr/admserv
/etc?

1) Is syncronizing the above directories enough ?
   (I only use mail & web services not the DNS or mysql)

2) can I just syncronize home directory which has information about vitual
    IP address?

    Will this Virtual IP information transformed to the back-up server &
    will there be any conflict of virtual IP address as both
    the servers are going to be online?

3) Can I synchronise the "etc" in the primary directory to "etc1" directory
    in the back-up server & when e-mail server is down, can rename the
"etc1"
   directory  to "etc" directory?

   (or) Do I have to syncronize certain files (listed below) in the the etc
   directory.

     a)etc/passwd
     b)etc/group
     c)etc/shadow
     d)etc/gshadow
     e)etc/aliases
     f)etc/aliases.db
     g)etc/aliases.majordomo
     h)etc/aliases.majordomo.db
     k)etc/virtusertable
     l )etc/virtusertable.db
     m)etc/sendmail.cw
     m)etc/mail/access
     n)etc/mail/access.db
     o)etc/mail/popip.db

     Is there any more files in /etc to be syncronized?

 Anybody is using this method?
 Or is there any better method?

 Thanks in advance.

 Regards

 Kajan