rsync for backup och restore

Johnny Rosenberg gurus.knugum at gmail.com
Mon Oct 6 16:00:22 UTC 2008


2008/10/5 Brian McKee <brian.mckee at gmail.com>

> On Sun, Oct 5, 2008 at 7:27 AM, Johnny Rosenberg <gurus.knugum at gmail.com>
> wrote:
> > Maybe some of you will say that "rsync is not the right tool for this".
> In
> > that case, what should I use instead (preferably a non GUI suggestion
> from
> > the repositories, please)?
>
> Have you considered Unison ?
> <http://www.linuxjournal.com/article/7712>
> <http://www.cis.upenn.edu/~bcpierce/unison/>
> I don't have personal experience, but have seen it recommended widely.
>
> As to your original issue - is it trying to overwrite a file with a
> link or vice versa?  One of those files is a symbolic link which won't
> have the same permissions as the file itself.  Perhaps running rsync
> with the -H option might clear this up - but I'd confirm which file is
> correct, and manually put it in place and re-run the sync.

I'll take a look at the -H option.
It should replace, if anything,
"/home/guraknugen/Eget/Datorer/Operativsystem/GNU
Linux/Dokumentation/Tangentbordslayout Ubuntu 20080217.ods" with
"/media/Backup/PB/guraknugen/Eget/Datorer/Operativsystem/GNU
Linux/Dokumentation/Tangentbordslayout Ubuntu 20080217.ods" and both are
links. However, the date of both links should be the same so I can't see a
reason why it would try to copy it at all… The -u option should make sure of
that, shouldn't it? But I will take a look at the -H option now, before I do
anything else. Thanks.
J.R.

>
>
> Brian
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20081006/7b173663/attachment.html>


More information about the ubuntu-users mailing list