source: branches/samba-3.2.x/docs/manpages/tdbbackup.8@ 229

Last change on this file since 229 was 229, checked in by Herwig Bauernfeind, 16 years ago

Update 3.2 branch to 3.2.7 docs

File size: 2.8 KB
Line 
1.\" Title: tdbbackup
2.\" Author:
3.\" Generator: DocBook XSL Stylesheets v1.73.1 <http://docbook.sf.net/>
4.\" Date: 12/19/2008
5.\" Manual: System Administration tools
6.\" Source: Samba 3.2
7.\"
8.TH "TDBBACKUP" "8" "12/19/2008" "Samba 3\.2" "System Administration tools"
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "NAME"
14tdbbackup - tool for backing up and for validating the integrity of samba .tdb files
15.SH "SYNOPSIS"
16.HP 1
17tdbbackup [\-s\ suffix] [\-v] [\-h]
18.SH "DESCRIPTION"
19.PP
20This tool is part of the
21\fBsamba\fR(1)
22suite\.
23.PP
24tdbbackup
25is 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\.
26.SH "OPTIONS"
27.PP
28\-h
29.RS 4
30Get help information\.
31.RE
32.PP
33\-s suffix
34.RS 4
35The
36\-s
37option 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\.
38.RE
39.PP
40\-v
41.RS 4
42The
43\-v
44will check the database for damages (currupt data) which if detected causes the backup to be restored\.
45.RE
46.SH "COMMANDS"
47.PP
48\fIGENERAL INFORMATION\fR
49.PP
50The
51tdbbackup
52utility 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:
53.PP
54tdbbackup [\-s suffix] *\.tdb
55.PP
56Before restarting samba the following command may be run to validate \.tdb files:
57.PP
58tdbbackup \-v [\-s suffix] *\.tdb
59.PP
60Samba \.tdb files are stored in various locations, be sure to run backup all \.tdb file on the system\. Important files includes:
61.sp
62.RS 4
63.ie n \{\
64\h'-04'\(bu\h'+03'\c
65.\}
66.el \{\
67.sp -1
68.IP \(bu 2.3
69.\}
70
71secrets\.tdb
72\- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba\.
73.RE
74.sp
75.RS 4
76.ie n \{\
77\h'-04'\(bu\h'+03'\c
78.\}
79.el \{\
80.sp -1
81.IP \(bu 2.3
82.\}
83
84passdb\.tdb
85\- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba\.
86.RE
87.sp
88.RS 4
89.ie n \{\
90\h'-04'\(bu\h'+03'\c
91.\}
92.el \{\
93.sp -1
94.IP \(bu 2.3
95.\}
96
97*\.tdb
98located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories\.
99.SH "VERSION"
100.PP
101This man page is correct for version 3 of the Samba suite\.
102.SH "AUTHOR"
103.PP
104The 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\.
105.PP
106The tdbbackup man page was written by John H Terpstra\.
Note: See TracBrowser for help on using the repository browser.