On 2007.10.01. 21:41, Arno Lehmann wrote:
...
>>  When I finish the 
>> restore, no files are restored, except the 
>> etc/sysconfig/networking/profiles/default directory structure.  Now, on 
>> the real filesystem, there is a hosts file in that directory, as well as 
>> /etc/hosts.  But they are not symlinked.
> 
> ... the two files are not symlinked but hard links to only one set of 
> data.
> 
>>  It seems like Bacula is 
>> getting confused about which hosts file I actually want restored.  It 
>> happens if I set the restore client to the same machine, or a different 
>> one.
> 
> I think that, in case these files are hard links, Bacula should 
> restore the one you explicitly selected, i.e. /etc/hosts. What it 
> should do the other hard links is something *I* wouldn't want to decide...

so the files were hardlinked. but, from reading the above, it seems that 
_none_ of the files was actually restored...

reading the manual, i would expect even with hardlinks=no one file to be 
restored, and only the correct one :)

also, the manual could be a bit more clear. it says :
"In such a case, set hardlinks=no and hard links will not be backed up. 
Note, using this option will most likely backup more data and on a 
restore the file system will not be restored identically to the original."

i think last sentence refers to 'hardlinks=no' setting, but at first i 
thought it was referring to '=yes' :)

as for what to do - i would expect all hardlinked files to be restored. 
if not, the system would not be restored as it was. also, what happens 
if you restore one hardlinked file (and others are not restored) - it 
has to be unlinked (and should only happen if hardlinks=no is explicitly 
set)

> Arno
> 
>> Perhaps this is just my inexperience with the software, but can someone 
>> offer a suggestion as to what the problem might be?  Maybe someone else 
>> can confirm this happens with them?  Thanks
>>
>> Jason
...
-- 
  Rich

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to