[Wylug-help] Fwd: Rsync problem

Anne Wilson cannewilson at googlemail.com
Sat Dec 4 18:55:22 UTC 2010


On Saturday 04 December 2010 18:17:58 Anne Wilson wrote:
> ---------- Forwarded message ----------
> From: Simon Greenwood <sfgreenwood at gmail.com>
> Date: 4 December 2010 11:17
> Subject: Re: [Wylug-help] Rsync problem
> To: Anne Wilson <cannewilson at googlemail.com>
> 
> On 4 December 2010 10:38, Anne Wilson <cannewilson at googlemail.com> wrote:
> > On Saturday 04 December 2010 10:32:25 Anne Wilson wrote:
> > > For some time I have used rsync to frequently back up certain files
> > > (using cron), but I decided to extend this.  Basically, my file
> > > server's data partition is mounted from the laptop, so that address is
> > > used for the backup.
> > > 
> > > Yesterday I set up a large backup using 'rsync -auvzr', as I had used
> > > previously.  To my surprise I find that many files returned
> > > 
> > > rsync: chgrp "/mnt/servername/fulladdress" failed: Operation not
> > > permitted (1).
> > > 
> > > Checking some of the files, I find that they are, on the server, owned
> > > nobody:nobody.  What went wrong and how do I fix it - for later
> > > backups, I mean.  I'll manually fix it for the current batch.
> > 
> > I realise now that all my previous rsync backups have been within the
> > fileserver itself, so it's almost certainly the fact that my mount from
> > the laptop is not sufficient to identify myself and set permissions.
> >  How do I do that across the network?  Currently cron runs as anne and
> > my username and password are identical on laptop and server.
> 
> Have a look at what your mounted volume is owned by, which I think
> will be nobody:nobody by default.
> However, a better way of backing up your laptop would be to run either
> run rsync in daemon mode on your server, or make a connection over
> SSH, which will retain your user account's rights: here's a good
> starting tutorial: http://www.fredshack.com/docs/rsync.html
> s/
> 
Thanks.  It looks as though the ssh route will suit best.  I'll read up :-)

Anne

-- 
KDE Community Working Group
New to KDE Software? - get help from http://userbase.kde.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mailman.lug.org.uk/pipermail/wylug-help/attachments/20101204/4d9c12b4/attachment.pgp>


More information about the Wylug-help mailing list