rsync 2.5.4 problem crossing file systems
Dave Dykstra
dwd at bell-labs.com
Fri Mar 22 02:39:21 EST 2002
I expect the problem is that you're using '*' in your script which expands
to all the directory names. Try using '.' instead.
- Dave Dykstra
On Mon, Mar 18, 2002 at 06:09:55PM -0800, George.R.Goffe at seagate.com wrote:
> Howdy,
>
> I just built this new version last week and am trying to rsync a running
> systems boot drive to an alternate drive on a different system (not running
> on the rsync drive target). The rsync seems to be crossing file system
> boundaries in spite of the -x flag. Can anyone help me with this please?
> I've also submitted a bug report.
>
> I'm running the rsync from a script that, now that I look at it, might be
> confusing rsync. I've enclosed the script below.
>
> Regards,
>
> George...
>
> #!/bin/sh -xv
>
> rsync()
> {
> /usr/lsd/SunOS.5.7/bin/rsync -vvacrRlpogtxz --stats --progress $*
> }
>
> cd / ;rsync * 10.26.8.10:/r2.root
> --exclude-from=/rsync-excludes
> cd /usr ;rsync * 10.26.8.10:/r2.usr
> --exclude-from=/rsync-excludes
> cd /opt ;rsync * 10.26.8.10:/r2.opt
> --exclude-from=/rsync-excludes
> cd /var ;rsync * 10.26.8.10:/r2.var
> --exclude-from=/rsync-excludes
> cd /apps ;rsync * 10.26.8.10:/r2.apps
> --exclude-from=/rsync-excludes
> cd /export/home ;rsync * 10.26.8.10:/r2.home
> --exclude-from=/rsync-excludes
>
> exit 0
>
>
>
> --
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html
More information about the rsync
mailing list