[Box Backup] Re: Bug#479145: boxbackup-client: Complaints about «file of unknown type» (socket)

Reinhard Tartler boxbackup at fluffy.co.uk
Tue May 20 10:42:09 BST 2008


(please keep the CC line intact)

Tollef Fog Heen <tfheen at err.no> writes:
> Hi,
>
> it seems like boxbackup-client doesn't know how to ignore sockets and
> so I get lines in daemon log like:
>
> May  2 23:07:44 xoog Box Backup (bbackupd)[3512]: WARNING: Ignoring file =
of unknown type: /var/run/postgresql/.s.PGSQL.5432
> May  2 23:07:44 xoog Box Backup (bbackupd)[3512]: WARNING: Ignoring file =
of unknown type: /var/run/postgresql/.s.PGSQL.5433
>
> This causes boxbackup-client to send email about =C2=ABfiles not being
> backed up=C2=BB, which is quite annoying.

Indeed. I had a closer look at the source code, and I think the relevant
part of the code is in BackupDaemon::NotifyUnsupportedFileType:

        virtual void NotifyUnsupportedFileType(
                const BackupClientDirectoryRecord* pDirRecord,
                const std::string& rLocalPath)
        {
                BOX_WARNING("Ignoring file of unknown type: " << rLocalPath=
);
        }

Now, as a workaround, you could of course add an explicit ignore in your
boxbackup configuration to work around this issue. I'm not sure if this
is the 'correct' way to solve this problem. TBH, I'd rather expect
boxbackup to 'more or less' silently ignore this. I'm therefore inclined
to change that line of code from BOX_WARNING to BOX_INFO.

What do the boxbackup developers think of this?


--=20
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



More information about the Boxbackup mailing list