Re: error restoring Unix socket ... path too long to be stored properly
Denis Corbin <[email protected]>
| Newsgroups | gmane.comp.sysutils.backup.dar.support |
|---|---|
| Message-ID | <[email protected]> |
On 02/05/2021 23:02, Denis Corbin wrote: > > > On 02/05/2021 20:47, imschmeg wrote: >> On Sun, 2 May 2021 14:01:54 -0400 >> imschmeg <[email protected]> wrote: [...] > Another solution is to avoid saving sockets. If you have extended > attributes available on your filesystem, you can flag all unix sockets > with the specific EA "user.libdar_no_backup" then add --exclude-by-ea > option to dar at backup time. > > which could done this way: > > find /some/path -type s -exec setfattr -n user.libdar_no_backup {} \; > dar -R /some/path --exclude-by-ea -c backup ... > > instead of "user.libdar_no_backup" you can use a different EA, see > --exclude-by-ea description in man page for more details. > > Cheers, > Denis >> With versions 2.6.15 and 2.7.1 released today, you now have the -au option that instructs dar to not restoring unix sockets. Hope it will help. Cheers, Denis > >
OpenPGP_signature
(application/pgp-signature, 840 B) - not displayed