>>>>> On Wed, 23 Aug 2017 16:54:26 +0200, Levi Hen said:
> 
> Bacula seems to be trying to restore symlinks (something I thought was 
> impossible) judging by the message below:
> 
> 23-Aug 16:19 bacula-fd JobId 3053: Error: create_file.c:305 Could not symlink 
> /tmp/bacula-restores/etc/httpd/modules -> ../../usr/lib64/httpd/modules: 
> ERR=Permission denied

Bacula always restores symlinks if they are backed up.  Why do you think it is
impossible?


> And it does this for every single file as far as I know/checked.
> 
> The backup seems to restore the files as per usual in the 
> /tmp/bacula-restores/ folder (haven’t checked if it they are actually working 
> as it is still busy) but when I did the exact same restore of this 
> fileset/client earlier last week it didn’t give me any errors.
> 
> Director is a Centos 6.4, bacula V5.0.0 R13.el6
> Client is a clean Centos 7, bacula V5.2.13 R23.1.el7
> 
> Don’t get me wrong, that it is error-ing is a good thing (as long as the 
> restore works) as we don’t want it to symlink (at least not this set) but we 
> want to understand why and how this is happening.

Why don't you want it to symlink?


> If anyone could shine some light on this we would be very happy.

Are you trying to restore over the existing files in /tmp/bacula-restores/?
If you want a clean restore, I suggest deleting that folder first.  If the
files did not exist last week then that would also explain why it didn't give
any errors then.

__Martin

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to