Samba 3: added Samba 3.0.24 sources
[tomato.git] / release / src / router / samba3 / docs / manpages / tdbbackup.8
blobd27c4da8690ad557f6b92993f4467d4cf3aa995e
1 .\"Generated by db2man.xsl. Don't modify this, modify the source.
2 .de Sh \" Subsection
3 .br
4 .if t .Sp
5 .ne 5
6 .PP
7 \fB\\$1\fR
8 .PP
9 ..
10 .de Sp \" Vertical space (when we can't use .PP)
11 .if t .sp .5v
12 .if n .sp
14 .de Ip \" List item
15 .br
16 .ie \\n(.$>=3 .ne \\$3
17 .el .ne 3
18 .IP "\\$1" \\$2
20 .TH "TDBBACKUP" 8 "" "" ""
21 .SH "NAME"
22 tdbbackup - tool for backing up and for validating the integrity of samba .tdb files
23 .SH "SYNOPSIS"
24 .HP 10
25 \fBtdbbackup\fR [-s suffix] [-v] [-h]
26 .SH "DESCRIPTION"
27 .PP
28 This tool is part of the
29 \fBsamba\fR(1)
30 suite.
31 .PP
32 \fBtdbbackup\fR
33 is a tool that may be used to backup samba .tdb files. This tool may also be used to verify the integrity of the .tdb files prior to samba startup or during normal operation. If it finds file damage and it finds a prior backup the backup file will be restored.
34 .SH "OPTIONS"
35 .TP 3n
37 Get help information.
38 .TP 3n
39 -s suffix
40 The
41 \fB-s\fR
42 option allows the adminisistrator to specify a file backup extension. This way it is possible to keep a history of tdb backup files by using a new suffix for each backup.
43 .TP 3n
45 The
46 \fB-v\fR
47 will check the database for damages (currupt data) which if detected causes the backup to be restored.
48 .SH "COMMANDS"
49 .PP
50 \fBGENERAL INFORMATION\fR
51 .PP
52 The
53 \fBtdbbackup\fR
54 utility can safely be run at any time. It was designed so that it can be used at any time to validate the integrity of tdb files, even during Samba operation. Typical usage for the command will be:
55 .PP
56 tdbbackup [-s suffix] *.tdb
57 .PP
58 Before restarting samba the following command may be run to validate .tdb files:
59 .PP
60 tdbbackup -v [-s suffix] *.tdb
61 .PP
62 Samba .tdb files are stored in various locations, be sure to run backup all .tdb file on the system. Important files includes:
63 .TP 3n
64 •
66 \fBsecrets.tdb\fR
67 - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
68 .TP 3n
69 •
71 \fBpassdb.tdb\fR
72 - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
73 .TP 3n
74 •
76 \fB*.tdb\fR
77 located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories.
78 .SH "VERSION"
79 .PP
80 This man page is correct for version 3.0 of the Samba suite.
81 .SH "AUTHOR"
82 .PP
83 The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed.
84 .PP
85 The tdbbackup man page was written by John H Terpstra.