Hello,
I want to back up files of a Windows 2000 client via SMB from a Linux
Server (Suse 10.1).
Windows Client named client, IP 192.168.0.129
Linux Server named linuxserver, IP 192.168.0.134

Then I found
http://wiki.dirvish.org/?SmbMount

Backing up Windows machines using smbclient

You can use the pre-server and post-server options in your dirvish.conf to
mount and umount Windows shares. Your c:\ folder must be exported (as read
only, of course).

client: localhost
tree: /mnt/dirvish/<mymachinename>/
pre-server: /usr/local/bin/mount-win-share <mymachinename> 
     username=<myuser> password=<mypass> ip=mymachinenameorip
post-server: /usr/local/bin/umount-win-share <mymachinename>

The password option is just an example. You are better off using password
files, etc. 


MY QUESTIONS:
1.What is <mymachinename>? The Windows client named client I guess in my case?
So I replace <mymachinename> by the word client? Correct?
The <myuser> is the windows 2000 user who has read only access onto the
exported folde c:\?
2.Can someone please send me an example of a working master.conf and
default.conf?

My current master.conf in /etc/dirvish/ is:

bank:
     /var/baks
client: localhost
log: none
tree: /mnt/dirvish/client/
Dirvish: /usr/local/sbin/dirvish
index: none
pre-server: /usr/local/bin/mount-win-share client
     username=tc2backup password=xxxx ip=192.168.0.129
Runall:
     client
post-server: /usr/local/bin/umount-win-share client

My current default.conf in /var/baks/client/dirvish is:

client: 192.168.0.134
tree: /mnt/dirvish/client/

The error I get:
linuxserver:/var/baks # /usr/local/sbin/dirvish -vault data -init
cannot open config file: default.conf

Thanks in advance
Bastian


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

Reply via email to