Zitat von James Harper <james.har...@bendigoit.com.au>:

>>
>> Hello
>>
>> A test restore on Windows 2003 lead to some errors like this one:
>>
>> 10-Sep 20:27 xpression-fd JobId 116: Error: filed/restore.c:1475 Write error
>> on h:/g/tmp/Service/eclipse_training_dvd/Uebungsmaterial/Kapitel
>> 09/Lektion 09.03/: Zugriff verweigert
>>
>> a closer inspection yield to the problem that a NTFS alternate data stream
>> exists for this directory, which can not be restored, while restoring the
>> directory works fine. In the directory itself there are many files  
>> which also
>> have alternate data streams which does not have this problem eg. are
>> restored as expected. With process monitor i can see the error access denied
>> but i don't know if alternate data streams can have different permissions
>> then the default data stream showed as file/directory?
>>
>> Any idea how to fix this problem?
>>
>
> I've just been having a drawn out discussion about this with  
> Symantec Backup Exec support. In my case I figured out that the  
> restore can't complete if the read only attribute is set on the  
> file, so to restore I need to run a bat file like:
>
> @ECHO OFF
> :loop
> attrib -r c:\windows\system32
> goto loop
>
> in the background while the restore is running (the restore sets the  
> readonly attribute so I need to continuously clear it).
>
> Fortunately a fix for bacula should be a lot easier than trying to  
> get a commercial backup vendor to fix it. Try the above bat file  
> while restoring and see if it helps. Otherwise, a code change  
> shouldn't be too hard if it turns out to be the problem.
>
> First though, just do an attrib on the directory to see if the r bit is set.

Indeed, the difference is the read-only flag set on the directory...
Would be nice to get it fixed and maybe the error message also which  
only shows the directory not the really affected alternate data stream.

Many Thanks

Andreas




------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to