how can i backup my whole LDB database
esiotrot at gmail.com
Fri Oct 8 00:42:51 MDT 2010
Sorry, forgot to Cc the list.
On 7 October 2010 21:06, Matthias Dieter Wallnöfer <mdw at samba.org> wrote:
> you could save the "sam.ldb.d" directory and the "sam.ldb" file under s4's
> "private" directory (path is generally /usr/local/samba/private). Or simply
> backup the whole "private" directory.
I use something like this:
find private var -type f -name '*.[lt]db' -print0 | xargs -0 tdbbackup
find private etc sysvol ! -type s ! -type d -print0 | tar cf
/path/to/samba.tar --null -T -
Michael Wood <esiotrot at gmail.com>
More information about the samba-technical