Hi
On 29 Oct 2013 3:08 PM, "Stefan J?ckel" <stefan.jaeckel at
wiwi.uni-halle.de>
wrote:>
> Hallo,
>
>
>
> i tried to backup samba4 by using the samba_backup script. I removed
> ?>/dev/null 2>&1?-Pipe from the tar-commands. Tar could not
archive the
> temporary msg-files, because they where open. My question is, do I need
the> temporary msg-files for a complete samba4 database-backup? Thank you.
These are not normal files but rather Unix domain sockets. The reason they
are not backed up is, it makes no sense to do so. Not because they are
open. In fact if they were not open they would not exist. They only exist
because some part of Samba is bound to the socket. So it is safe to ignore
them.
> tar: ./private/smbd.tmp/msg/msg.31043.1: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.30220.1: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3248.39: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3240.40: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3248.77: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3248.67: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3248.53: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.32127.1: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.30163.1: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3240.49: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.25080.1: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3248.35: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3248.31: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3244.28: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3240.47: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3240.83: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.28325.1: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3248.61: socket ignored
>
> tar: ./private/smbd.tmp/msg/msg.3248.65: socket ignored
>
> tar: ./private/ldapi: socket ignored
>
> tar: ./private/ldap_priv/ldapi: socket ignored
>
> tar: ./private: file changed as we read it
>
> Error while archiving /usr/local/backups/samba4_private.291013.tar.bz2
>
>
>
> Best regards
>
>
>
> Stefan J?ckel IT und Systemadministration
>
>
>
> Martin-Luther-Universit?t Halle Wittenberg
> Juristische und Wirtschaftswissenschaftliche Fakult?t
> Wirtschaftswissenschaftlicher Bereich
>
> Gro?e Steinstra?e 73
>
> 06108 Halle
>
>
>
> Telefon: 0345/5523352