Maybe Bacula could perform deeper inspection of the FileSet definition
and replace all the double slashes, dot and dot-dot files accordingly.
At least for the restore. This behavior may be considered as bug.
On Tue, Jun 14, 2016 at 9:17 AM, Peter Viskup <skupko.sk AT gmail DOT com>
wrote:
> http://pubs.opengroup.org/onlinepubs/007904875/basedefs/xbd_chap04.html#tag_04_11
>
> <cite>
> The special filename dot shall refer to the directory specified by its
> predecessor. The special filename dot-dot shall refer to the parent
> directory of its predecessor directory. As a special case, in the root
> directory, dot-dot may refer to the root directory itself.
> </cite>
>
> Simple test shows what's going on:
> $ mkdir test
> $ mkdir test/./
> mkdir: cannot create directory ‘test/./’: File exists
>
> --
> Peter Viskup
>
> On Mon, Jun 13, 2016 at 5:13 PM, bdam <bacula-forum AT backupcentral DOT com>
> wrote:
>> I fixed this. For anyone else encountering it, when going through the
>> restore process choose "mod" | "File Relocation" | "Strip prefix" and in the
>> set I was using I entered "/data/home/./". This stops bacula trying to
>> create the folder with name ".".
>>
>> +----------------------------------------------------------------------
>> |This was sent by bill.damage AT yahoo DOT com via Backup Central.
>> |Forward SPAM to abuse AT backupcentral DOT com.
>> +----------------------------------------------------------------------
>>
>>
>>
>> ------------------------------------------------------------------------------
>> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
>> patterns at an interface-level. Reveals which users, apps, and protocols are
>> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
>> J-Flow, sFlow and other flows. Make informed decisions using capacity
>> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
>> _______________________________________________
>> Bacula-users mailing list
>> Bacula-users AT lists.sourceforge DOT net
>> https://lists.sourceforge.net/lists/listinfo/bacula-users
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|