source: trunk/samba-3.0.25pre1/docs/htmldocs/manpages/tdbbackup.8.html @ 1

Last change on this file since 1 was 1, checked in by Paul Smedley, 14 years ago

Initial code import

File size: 3.7 KB
1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>tdbbackup</title><link rel="stylesheet" href="samba.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="refentry" lang="en"><a name="tdbbackup.8"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>tdbbackup &#8212; tool for backing up and for validating the integrity of samba .tdb files</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">tdbbackup</code>  [-s suffix] [-v] [-h]</p></div></div><div class="refsect1" lang="en"><a name="id230784"></a><h2>DESCRIPTION</h2><p>This tool is part of the <a href="samba.1.html"><span class="citerefentry"><span class="refentrytitle">samba</span>(1)</span></a> suite.</p><p><span><strong class="command">tdbbackup</strong></span> is a tool that may be used to backup samba .tdb
2        files. This tool may also be used to verify the integrity of the .tdb files prior
3        to samba startup or during normal operation. If it finds file damage and it finds
4        a prior backup the backup file will be restored.
5        </p></div><div class="refsect1" lang="en"><a name="id231138"></a><h2>OPTIONS</h2><div class="variablelist"><dl><dt><span class="term">-h</span></dt><dd><p>
6                Get help information.
7                </p></dd><dt><span class="term">-s suffix</span></dt><dd><p>
8                The <span><strong class="command">-s</strong></span> option allows the adminisistrator to specify a file
9                backup extension. This way it is possible to keep a history of tdb backup
10                files by using a new suffix for each backup.
11                </p></dd><dt><span class="term">-v</span></dt><dd><p>
12                The <span><strong class="command">-v</strong></span> will check the database for damages (currupt data)
13                which if detected causes the backup to be restored.
14                </p></dd></dl></div></div><div class="refsect1" lang="en"><a name="id231196"></a><h2>COMMANDS</h2><p><span class="emphasis"><em>GENERAL INFORMATION</em></span></p><p>
15        The <span><strong class="command">tdbbackup</strong></span> utility can safely be run at any time. It was designed so
16        that it can be used at any time to validate the integrity of tdb files, even during Samba
17        operation. Typical usage for the command will be:
18        </p><p>tdbbackup [-s suffix] *.tdb</p><p>
19        Before restarting samba the following command may be run to validate .tdb files:
20        </p><p>tdbbackup -v [-s suffix] *.tdb</p><p>
21        Samba .tdb files are stored in various locations, be sure to run backup all
22        .tdb file on the system. Important files includes:
23        </p><div class="itemizedlist"><ul type="disc"><li><p>
24                <span><strong class="command">secrets.tdb</strong></span> - usual location is in the /usr/local/samba/private
25                directory, or on some systems in /etc/samba.
26                </p></li><li><p>
27                <span><strong class="command">passdb.tdb</strong></span> - usual location is in the /usr/local/samba/private
28                directory, or on some systems in /etc/samba.
29                </p></li><li><p>
30                <span><strong class="command">*.tdb</strong></span> located in the /usr/local/samba/var directory or on some
31                systems in the /var/cache or /var/lib/samba directories.
32                </p></li></ul></div></div><div class="refsect1" lang="en"><a name="id231468"></a><h2>VERSION</h2><p>This man page is correct for version 3.0 of the Samba suite.</p></div><div class="refsect1" lang="en"><a name="id231478"></a><h2>AUTHOR</h2><p>
33        The original Samba software and related utilities were created by Andrew Tridgell.
34        Samba is now developed by the Samba Team as an Open Source project similar to the way
35        the Linux kernel is developed.
36        </p><p>The tdbbackup man page was written by John H Terpstra.</p></div></div></body></html>
Note: See TracBrowser for help on using the repository browser.