--On Dienstag, 12. Dezember 2006 19:29 +0100 Oliver Lehmann 
<[EMAIL PROTECTED]> wrote:

> Georg Altmann wrote:
>
>> The solution proposed is to keep file flags in a list and set them after
>> all files have been restored, so that all hardlinks can be created.
>> Though  it is probably enough to do this for hardlinked files. Looks
>> like this  would make the restore code even more complicated.
>>
>> But what is the solution if you restore a file from an incremental
>> backup  which is a hardlink to an IMMUTABLE file?
>
> Or what is when you just try to restore the hardlink (and you didn't knew
> it was a hardlink). Beside saying that reinstalling the OS should be
> recommended here, the IMMUTABLE flag can also be used for non-OS files
> too. This can't be "fixed" by just reinstalling the OS ;)

No, of course not. I was just supposing this as a fix for your specific 
error messages.
On the other hand, having files with the schg flag set AND hardlinks is not 
something that happens very often.

> I'd say that
> keeping the flags and setting them when the whole restore is done is one
> step in the right direction and fixes at least some of the problems. Even
> if it does not fix the problems 100%

Just read my other post about SELinux and MAC. I don't think managing 
immutable flags is the responsibility of bacula or any other backup 
software. There should really be a possibility to make backups and 
restores, without having all those policies to get in your way, instead of 
implementing a complicated handling scheme in every backup-software. Maybe 
worth a bug report for FreeBSD?

Cheers,
Georg

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to