Koozali.org: home of the SME Server

backing up with rsync [solved]

rickybee

backing up with rsync [solved]
« on: July 19, 2006, 02:45:40 PM »
Hopefully someone can help me with this, I have a smeserver7 box installed at a remote location and am trying to back it up to my workstation running winXP in the main office. The 2 offices are connected through a VPN so it all uses internal IP addresses just different subnets.

I installed cwRsync on my XP box, wrote the rsyncd.conf and run the daemon on SME and can successfully backup the main file area using:
rsync -avz --delete 192.168.3.100::full /backup
This is because the main file area is 'world readable' to the internal network.

My problem is in trying to backup the private user spaces that can only be accessed by the owner or root on SME. How do I give rsync permission to back up those folders? I have read so much info that I am just confusing myself and working in circles, some pointers in the right direction would help a lot.

TIA

rickybee

Solved
« Reply #1 on: July 19, 2006, 07:21:30 PM »
It's ok, I found the answer myself. Just needed to dig a little further and I found the full explanation of using UID in the rsyncd.conf file.

Thanks anyway.

Offline p-jones

  • *
  • 594
  • +0/-0
backing up with rsync [solved]
« Reply #2 on: July 20, 2006, 01:03:28 AM »
Hi Rickybee

Pleased to see you solved your problem.

I want to do the reverse of what you are doing. I want to back up a wkstn to an ibay which means turning my sme into an Rsync server. Furthermore I dont want to make my SME too non-standard.

Did you find anything useful in your searching that may facilitate this. I have search these forums, google and a few other places but havent really come up with too much useful.

Thanks
Peter
...

rickybee

backing up with rsync [solved]
« Reply #3 on: July 20, 2006, 04:32:07 PM »
I suppose it depends on how much data you are transferring. If it is just your documents etc then it may be easier just to use something like SyncBack running on your xp box. This can syncronize your data across a regular windows share to an ibay.

The reason I am preferring rsync is because the data has to run through a VPN over the internet so the speed benefits are good.

I think cwRsync on windows could do this as well but it is something I haven't tried.

I hope this helps.

cranky

backing up with rsync [solved]
« Reply #4 on: July 21, 2006, 06:06:05 PM »
Although unrelated to your problem, I like the idea that I've seen lately of having the original poster go back and add "[Solved]" to the subject of the thread when a solution is reached.  IMHO, this simple convention would make it much easier/faster for anyone researching a problem to find the appropriate solution!

This should not replace the convention of posting bugs in bugzilla though!  Following this convention might make it easier for the Communications Group volunteers to find material for FAQ's.