Tom Trelvik wrote:
Looking through the list archives, I can see things like this have
been discussed plenty before, but I couldn't find a straightforward
"this is a good working solution" kind of post, so I hope you guys
don't mind my asking.

Can someone share a sample host config file to back up a windows
machine using either rsync or rsyncd (and if rsyncd, could you share
the corresponding rsyncd.conf as well)?

I don't want to open up the entire hard drive with samba because
that's more of a security risk than I'd like to take on a laptop that
will also spend time on untrusted networks.

Thanks!

Tom

  
Hi Tom,

rsyncd is a great option. We still use it to "share" the c drive, but hard code it so that only the backuppc server can get to it. Also we turn off listing so that you cant browse a share list. Aswell it not like users can browse "network neighbourhood" to see an rsync share. You could take it to the next level and configure rsyncd share passwords but if your server and client pc's are all internal you shouldn't need to do this.

Sample rsyncd.conf on client........

use chroot = false
max connections = 20
log file = c:/rsyncd/rsyncd.log
pid file = c:/rsyncd/rsyncd.pid
lock file = c:/rsyncd/rsyncd.lock

[cdrive]
    path = c:/
    comment = C Drive
    strict modes = false
    hosts allow = 192.168.1.1
    read >     list = false

Sample backuppc config.pl....(only approriate values shown)

$Conf{RsyncShareName} = ['cdrive'];

$Conf{BackupFilesOnly} = {
       'cdrive' => ['Documents and Settings', 'rsyncd' ],      # these are for 'c' share
    };

This effectively only catches the Documents and Settings folder, which is probably all you want.

Hope that helps.

Regards,

Les

Reply via email to