Quote:
Originally Posted by rough60
Hi all,
I would like to setup grsync to auto backup me xp desktop and win7 laptop.
I have setup samba and can access the directories on the ubuntu server.
I can see the desktop and laptop on the network from the server.
But when I try to find the machines i want to backup in source in grsync they are not there.
|
I find it a little unclear when you say you can "access" the directories from the Ubuntu machine. For Grsync to work through Samba, the directories would need to be mounted somewhere on the Ubuntu machine's file system. There are some utilities that will allow access without providing a proper file system mount, so the first thing you need to do is make sure that the directories you want to back up are mounted on the Ubuntu machine.
I use something like this to mount shares from a Windows machine on an SME server so I can backup data on the Windows machine:
Code:
mount -t cifs //10.1.0.22/data /mnt/smb -o user=somename%somepassword
<backup commands go here>
umount /mnt/smb
You may be able to use a hostname instead of an IP address, but that depends on how machines are resolved in your local network. An IP will always work, a host name may not, depending on how the network is set up.
I'm also not too sure about using Grsync for automated backups - never tried that. IRC, it will generate a script with the commands necessary to use rsync to backup selected files, which can then be submitted to a cron job to automate the process. However, for that to work, you need to add the necessary commands to mount and unmount the Widows shares as well.
Quote:
What should the permissions be on the windows machines?
|
The directories you want to back up must be shared, and there must be a legitimate user on the Windows machine so that you can mount the directory as shown above.
Not providing enough information....
Quote:
Is there a very basic tutorial somewhere to help me out?
Any help appreciated.
|
Not sure about that. You could take a look at man mount, and man rsync as well....
Paul.