source: trunk-3.0/docs/manpages/tdbbackup.8@ 101

Last change on this file since 101 was 44, checked in by Paul Smedley, 18 years ago

Update source to 3.0.25b

File size: 2.5 KB
Line 
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
13..
14.de Ip \" List item
15.br
16.ie \\n(.$>=3 .ne \\$3
17.el .ne 3
18.IP "\\$1" \\$2
19..
20.TH "TDBBACKUP" 8 "" "" ""
21.SH "NAME"
22tdbbackup - tool for backing up and for validating the integrity of samba .tdb files
23.SH "SYNOPSIS"
24.HP 1
25tdbbackup [-s suffix] [-v] [-h]
26.SH "DESCRIPTION"
27.PP
28This tool is part of the
29\fBsamba\fR(1)
30suite.
31.PP
32tdbbackup
33is 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.PP
36-h
37.RS 3n
38Get help information.
39.RE
40.PP
41-s suffix
42.RS 3n
43The
44-s
45option 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.
46.RE
47.PP
48-v
49.RS 3n
50The
51-v
52will check the database for damages (currupt data) which if detected causes the backup to be restored.
53.RE
54.SH "COMMANDS"
55.PP
56\fBGENERAL INFORMATION\fR
57.PP
58The
59tdbbackup
60utility 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:
61.PP
62tdbbackup [-s suffix] *.tdb
63.PP
64Before restarting samba the following command may be run to validate .tdb files:
65.PP
66tdbbackup -v [-s suffix] *.tdb
67.PP
68Samba .tdb files are stored in various locations, be sure to run backup all .tdb file on the system. Important files includes:
69.TP 3n
70\(bu
71
72secrets.tdb
73- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
74.TP 3n
75\(bu
76
77passdb.tdb
78- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
79.TP 3n
80\(bu
81
82*.tdb
83located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories.
84.SH "VERSION"
85.PP
86This man page is correct for version 3.0 of the Samba suite.
87.SH "AUTHOR"
88.PP
89The 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.
90.PP
91The tdbbackup man page was written by John H Terpstra.
92
Note: See TracBrowser for help on using the repository browser.