On Thu 07 Feb 2008, Jarkko Ypäjä wrote:

> The the dedicated backup server I will insert a bank(to the master.conf) for 
> all the servers that need to backupped such as:
> 
> master.conf
> 
> bank
>     /server1
>     /server2

You can define just one bank, and put the servers below that.
(you need a : after bank!)
I use:

bank:
    /data

and then have /data/server1/etc, /data/server1/home, etc
and /data/server2/etc, /data/server2/var-www, etc

You also need an entry for each if you want to use dirvish-runall:

Runall:
    server1/etc                 22:00
    server1/home                22:00
    server2/etc                 22:00
    server2/var-www             22:00
    ...

dirvish-runall will then execute dirvish for each of these.


> After this I will create an own default.conf to under every folder 
> /serverx/root/dirvish and put to the client section the servers ip(or 
> hostname? which one?)

IP or hostname doesn't matter, so long as the name resolves and "ssh IP"
or "ssh hostname" works.

> After this I will create the necessary keys so that the SSH connection does 
> not need to use passwords according to this howto: 
> http://edseek.com/~jasonb/articles/dirvish_backup/transport.html#transportssh

You can also have rsync running as a daemon on the systems, then you
don't use ssh.  You will have to define the tree as :modulename in that
case.



Paul Slootman
_______________________________________________
Dirvish mailing list
[email protected]
http://www.dirvish.org/mailman/listinfo/dirvish

Reply via email to