SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
AW: Rdiff backup still chokes if read-only files are found
Author Message
Post AW: Rdiff backup still chokes if read-only files are found 
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? Wink The list seems to be a bit quiet. If this is the
wrong place for this report, someone please tell me the correct one Smile

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: rdiff-backup-users-bounces+mail=dkriesel.com < at > nongnu.org

[mailto:rdiff-backup-users-bounces+mail=dkriesel.com < at > nongnu.org] 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/rdiff-backup-users < at > nongnu.org/msg03549.html>

users < at > nongnu.org/msg03549.html
<http://www.mail-archive.com/rdiff-backup-users < at > nongnu.org/msg03549.html>


Any advice?


Cheers,

David



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

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

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB