[ale] rsync ???
James CE Johnson
jcej at tragus.org
Fri May 3 17:16:03 EDT 2002
>
>
>
> I have a server mounting 2 nfs filesystems. The filesystems are on 2
> different servers so it can't be done local there. I'm trying to use
> rsync to mirror the contents since a few things may have changed since
> the original was built out.
>
> At any rate I'm getting this:
>
> $ rsync -ar wcfsdtmf wcfsdtmf2
You're trying to create a directory 'wcfsdtmf' on 'wcfsdtmf2'.
Do this instead:
$ rsync -ar wcfsdtmf/ wcfsdtmf2/
That'll likely fail too, though, because it smells like wcfsdtmf2
is mounted w/o permission for root (or whomever you're logged in
as) to write to it.
An alternative would be to login to the target system and do:
$ rsync -avx -e ssh sourceSystem:/path/to/wcfsdtmf/ /path/to/backup/of/wcfsdtmf/
> mkdir wcfsdtmf : Permission denied (2)
> stat wcfsdtmf : No such file or directory
> mkdir wcfsdtmf/dtmf : No such file or directory (2)
> stat wcfsdtmf/dtmf : No such file or directory
> mkdir wcfsdtmf/dtmf/1000000 : No such file or directory (2)
> stat wcfsdtmf/dtmf/1000000 : No such file or directory
> mkdir wcfsdtmf/dtmf/1000000/1746066 : No such file or directory (2)
> stat wcfsdtmf/dtmf/1000000/1746066 : No such file or directory
> mkdir wcfsdtmf/dtmf/1000000/9368706 : No such file or directory (2)
> stat wcfsdtmf/dtmf/1000000/9368706 : No such file or directory
> mkdir wcfsdtmf/dtmf/1001597 : No such file or directory (2)
> stat wcfsdtmf/dtmf/1001597 : No such file or directory
>
>
> wcfsdtmf is the source directory. The files exist and work fine. Why
> is it trying a mkdir on the original source? I tried using explicit
> path names, same result.
>
> I am using a "find . | cpio -pdmu ../wcfsdtmf2" for now and it's working
> to duplicate the directories but I'll need to just sync the differences
> tonight.
>
> Thoughts?
>
>
> :wq!
> ---------------------------------------------------------------------------
> Robert L. Harris | Micros~1 :
> Senior System Engineer | For when quality, reliability
> at RnD Consulting | and security just aren't
> \_ that important!
> DISCLAIMER:
> These are MY OPINIONS ALONE. I speak for no-one else.
> FYI:
> perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
>
>
> ---
> This message has been sent through the ALE general discussion list.
> See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> sent to listmaster at ale dot org.
>
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list