- To: <admin@xxxxxxxxxxx>
- Subject: Re: [SLUG] rsync paths (windows)
- From: Howard Lowndes <lannet@xxxxxxxxxxxxx>
- Date: Thu Feb 14 18:57:02 2002
- Cc: Mail List - SLUG <slug@xxxxxxxxxxx>
Well, the way I did it was set up a share on the Win box and then smbmount
that into the Linux file ssystem somewhere then just handle them as if
they are Linux to Linux rsyncs.
This is the cron line:
0 22 * * * rsync -avz /home/notes /home/acauser/administration/data
/home/acauser/administration/users /home/acauser/jacques/aircraft
/home/acauser/sync_space 1>/tmp/rsync 2>&1 ; cat /tmp/rsync |mail -s
"Rsync from $(uname -n)" root@xxxxxxxxxxxxxxxxx
The first is a genuine Linux "share", In fact it is Lotus Domino running
under Linux on the box on which this cron job runs
The second and third are two shares mounted from one Win box as read only
The fourth is a read-only share from another Win box
The fifth is a read-write Win share on yet another Win box onto which
everything gets rsync'd.
On Thu, 14 Feb 2002 admin@xxxxxxxxxxx wrote:
> List,
>
> While not strictly a Linux related question, Does anyone know the correct syntaxfor using rsync on win32? using letter:\pathname does not work as it interprets the colon as a hostname:path seperator. UNC paths seem to work in the format of //host/share\path/ but I cannot get this to work correctly either.
>
> Any ideas?
>
> Regards,
>
> Jon
>
--
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
"I believe that forgiving them [terrorists] is God's function.
Our job is simply to arrange the meeting."
- General "Storm'n" Norman Schwartzkopf