rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AW: [rdiff-backup-users] Rdiff backup still chokes if read-only file


From: Dominic Raferd
Subject: Re: AW: [rdiff-backup-users] Rdiff backup still chokes if read-only files are found at target
Date: Mon, 29 Nov 2010 16:06:14 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

David:

Following your posting, I have tested the behaviour of our system backing up read-only folders and files with rdiff-backup, and it works correctly, even when the read-only files change. We are backing up from Windows machines but to a Linux server (using TimeDicer as wrapper for rdiff-backup), I suspect this is where your problem lies.

So a possible solution is to move your backup repository to a Linux server, this could even be a VM hosted on your Windows machine.

Dominic

On 29/11/2010 10:04, D. Kriesel wrote:

Anybody here? ;-) The list seems to be a bit quiet. If this is the wrong place for this report, someone please tell me the correct one :-)

I feel I did not provide enough information to get rid of the below bug. So, here you go:

1.I am using rdiff 1.3.3 for a local backup on a windows server 2003 32bit machine.

2.I am using the windows release that can be downloaded on rdiff-backup.nongnu.org as rdiff-backup-1.3.3-win32.zip.

3.My rdiff call is: rdiff-backup --force --no-acls --no-hard-links --print-statistics --include "D:\\/home" --include "D:\\/profile" --exclude "D:\\/share/ElRv-Daten" --include "D:\\/share" --exclude "D:\\/**" D:\/ D:\/rd/data

4."Zugriff verweigert" in the below message is german for "permission denied". When checking the folders, I found that the ACL entries are okay, but the read-only flag on the "Eigene Bilder" folder was set.

So all in all, *it**seems to me that rdiff cannot remove this flag from folders*. Below linked you find a similar problem with files. Next, *windows**prevents rdiff from deleting a folder that is still marked "read-only"*. Consecuently, Rdiff crashes.

To support my concern, I can tell you that you find quite a number of „read only folders“ on windows systems, because that windows itself uses the read only flag on folders differently than on files: see http://support.microsoft.com/kb/256614 . Additionally, the attribute setting for folders may be handled different (for example, you can’t remove read only attribute on folders just using the explorer).

Any help is appreciated, really... I like rdiff and don’t want to chance the backup system (again)...

Cheers,

David

> -----Ursprüngliche Nachricht-----

> Von: address@hidden

> [mailto:address@hidden Im

> Auftrag von D. Kriesel

> Gesendet: Sonntag, 28. November 2010 01:52

> An: Lista rdiff-backup

> Betreff: [rdiff-backup-users] Rdiff backup still chokes if read-only files are

> found at target

>

> Hi guys,

>

> I have rdiff crashing when read-only files are in the rdiff repository. It

> gives the following Exceptions:

>

> Exception '[Error 5] Zugriff verweigert: 'D:\\/rd/data/home/kwasny/Eigene

> Dateie

> n/Eigene Bilder'' raised of class '<type 'exceptions.WindowsError'>':

> File "rdiff_backup\Main.pyc", line 306, in error_check_Main

> File "rdiff_backup\Main.pyc", line 326, in Main

> File "rdiff_backup\Main.pyc", line 282, in take_action

> File "rdiff_backup\Main.pyc", line 345, in Backup

> File "rdiff_backup\backup.pyc", line 51, in Mirror_and_increment

> File "rdiff_backup\backup.pyc", line 251, in patch_and_increment

> File "rdiff_backup\rorpiter.pyc", line 277, in __call__

> File "rdiff_backup\rorpiter.pyc", line 229, in finish_branches

> File "rdiff_backup\backup.pyc", line 676, in end_process

> File "rdiff_backup\rpath.pyc", line 993, in rmdir

>

> Traceback (most recent call last):

> File "rdiff-backup", line 30, in <module>

> File "rdiff_backup\Main.pyc", line 306, in error_check_Main

> File "rdiff_backup\Main.pyc", line 326, in Main

> File "rdiff_backup\Main.pyc", line 282, in take_action

> File "rdiff_backup\Main.pyc", line 345, in Backup

> File "rdiff_backup\backup.pyc", line 51, in Mirror_and_increment

> File "rdiff_backup\backup.pyc", line 251, in patch_and_increment

> File "rdiff_backup\rorpiter.pyc", line 277, in __call__

> File "rdiff_backup\rorpiter.pyc", line 229, in finish_branches

> File "rdiff_backup\backup.pyc", line 676, in end_process

> File "rdiff_backup\rpath.pyc", line 993, in rmdir

> WindowsError: [Error 5] Zugriff verweigert:

> 'D:\\/rd/data/home/kwasny/Eigene

> Dat

> eien/Eigene Bilder'

>

>

> Sounds similar to me like the old read-only file issue.

> http://www.mail-archive.com/rdiff-backup- <http://www.mail-archive.com/address@hidden/msg03549.html>

> address@hidden/msg03549.html <http://www.mail-archive.com/address@hidden/msg03549.html>

>

> Any advice?

>

> Cheers,

> David

>


_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki



reply via email to

[Prev in Thread] Current Thread [Next in Thread]