during backup, rsync lacks permision to create dir or open file over NFS

Hi, Have shared a backup directory on an openSuse 13.1 machine (server) with rw permissions for any host on the subnet (192.168.x.x.). Ownership of both client and server is given to the same user name. But have what seem to be permissions problems and I’m not sure what to look for. A client machine (also openSuse 13.1) needs to be root to mount the NFS directory on the server, but after that the client user can read and write there. Running rsync from the client to back it’s files to the server over NFS works only partly; if a new directory is needed the transfer fails with the message that permissions are not sufficient to create a directory. The user login and UID are the same on both machines. My hope is that this is not the intended behavior of rsync and that I need to tweak the config to make backups go smoothly, Thanks in advance.

On 03/14/2014 01:56 PM, konsultor pecked at the keyboard and wrote:
> Hi, Have shared a backup directory on an openSuse 13.1 machine (server)
> with rw permissions for any host on the subnet (192.168.x.x.).
> Ownership of both client and server is given to the same user name. But
> have what seem to be permissions problems and I’m not sure what to look
> for. A client machine (also openSuse 13.1) needs to be root to mount
> the NFS directory on the server, but after that the client user can read
> and write there. Running rsync from the client to back it’s files to the
> server over NFS works only partly; if a new directory is needed the
> transfer fails with the message that permissions are not sufficient to
> create a directory. The user login and UID are the same on both
> machines. My hope is that this is not the intended behavior of rsync
> and that I need to tweak the config to make backups go smoothly, Thanks
> in advance.
>
>

If the server is running linux why not just use rsync direct?



rsync  [options] /some_dir/  somemachine:/samedir/


Ken

On 2014-03-14 18:56, konsultor wrote:

> create a directory. The user login and UID are the same on both
> machines. My hope is that this is not the intended behavior of rsync
> and that I need to tweak the config to make backups go smoothly, Thanks
> in advance.

I think it would be better to setup an rsync server daemon, instead of
going over NFS with rsync. More efficient, less resources…


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

OK. Will try that and report later.

Started rsync on both client and server. Launching Grsync on client produces a window that differs significantly from any described in Grsyn tutorials. There are no working tabs and no way to create a session. I have a screen shot which shows the Help window open (with the version).
flanagan-consulting.com/images/GrsyncStart.jpeg
Is there something obviously wrong with my installation?

On 2014-03-16 03:06, konsultor wrote:
>
> Started rsync on both client and server. Launching Grsync on client
> produces a window that differs significantly from any described in Grsyn
> tutorials. There are no working tabs and no way to create a session.

What the h**k is that grsync? No, good grief, open terminals and get
typing! >:-)


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

On Sun, 16 Mar 2014 02:06:02 GMT, konsultor
<konsultor@no-mx.forums.opensuse.org> wrote:

>
>Started rsync on both client and server. Launching Grsync on client
>produces a window that differs significantly from any described in Grsyn
>tutorials. There are no working tabs and no way to create a session.
>I have a screen shot which shows the Help window open (with the
>version).
>[image: flanagan-consulting.com/images/GrsyncStart.jpeg]
>Is there something obviously wrong with my installation?

Only one end should run a server. The other uses the client fancy tool.
Watch the permissions (drwxrwxrwx) on the directories to prevent issues.

?-)