[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] rdiff-backup under Windows with Cygwin
From: |
Dominic Raferd |
Subject: |
Re: [rdiff-backup-users] rdiff-backup under Windows with Cygwin |
Date: |
Fri, 17 Aug 2018 07:03:45 +0100 |
On Fri, 17 Aug 2018 at 00:44, Yves Bellefeuille <address@hidden> wrote:
> I'm trying to use rdiff-backup with Cygwin to backup files from a
> Windows system to a Linux server, but I'm running into a problem with
> the file ownerships and permissions constantly getting messed up.
>
> Here's an example. Here's the directory which should contain the backups:
>
> drw-rw-rw- 5 666 financo 4096 Jul 26 17:04 .
> drwxrwx--- 6 financo financo 4096 Jul 26 17:04 ..
> drw-rw-rw- 9 financo financo 4096 Aug 5 12:01 monate
> drw-rw-rw- 9 financo financo 4096 Aug 11 12:01
> semajne
> d---r-x--- 9 328384 328384 4096 Aug 16 12:01 tage
>
> All directories should have permissions rw-rw-rw- and owners
> financo:financo. In fact, they had yesterday, but obviously the daily
> ("tage") backup messed up the directory "tage" and ownership of ".".
> The backup finished properly, though.
>
> I could run a cron job to constantly reset the permissions and owners
> to what they should be, but that would be a dirty work-around. I'd
> much rather solve the actual problem.
>
> sshd's log file (/var/log/audit/audit.log on my system) doesn't seem
> to have anything useful.
>
Presumably there is some difference between the rdiff-backup command that
creates the tage backup and the ones that create the monate and semajne
backups. I would look at that difference. Might
be --preserve-numerical-ids? Is this a one-off problem (and tage backup has
worked before) or is it recurrent?