source: branches/samba-3.5.x/docs/manpages/tdbbackup.8@ 734

Last change on this file since 734 was 734, checked in by Silvan Scherrer, 13 years ago

Samba Server 3.5: update branche to 3.5.14

File size: 3.2 KB
Line 
1'\" t
2.\" Title: tdbbackup
3.\" Author: [see the "AUTHOR" section]
4.\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/>
5.\" Date: 03/09/2012
6.\" Manual: System Administration tools
7.\" Source: Samba 3.5
8.\" Language: English
9.\"
10.TH "TDBBACKUP" "8" "03/09/2012" "Samba 3\&.5" "System Administration tools"
11.\" -----------------------------------------------------------------
12.\" * set default formatting
13.\" -----------------------------------------------------------------
14.\" disable hyphenation
15.nh
16.\" disable justification (adjust text to left margin only)
17.ad l
18.\" -----------------------------------------------------------------
19.\" * MAIN CONTENT STARTS HERE *
20.\" -----------------------------------------------------------------
21.SH "NAME"
22tdbbackup \- tool for backing up and for validating the integrity of samba \&.tdb files
23.SH "SYNOPSIS"
24.HP \w'\ 'u
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 4
38Get help information\&.
39.RE
40.PP
41\-s suffix
42.RS 4
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 4
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\fIGENERAL 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.sp
70.RS 4
71.ie n \{\
72\h'-04'\(bu\h'+03'\c
73.\}
74.el \{\
75.sp -1
76.IP \(bu 2.3
77.\}
78
79secrets\&.tdb
80\- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba\&.
81.RE
82.sp
83.RS 4
84.ie n \{\
85\h'-04'\(bu\h'+03'\c
86.\}
87.el \{\
88.sp -1
89.IP \(bu 2.3
90.\}
91
92passdb\&.tdb
93\- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba\&.
94.RE
95.sp
96.RS 4
97.ie n \{\
98\h'-04'\(bu\h'+03'\c
99.\}
100.el \{\
101.sp -1
102.IP \(bu 2.3
103.\}
104
105*\&.tdb
106located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories\&.
107.SH "VERSION"
108.PP
109This man page is correct for version 3 of the Samba suite\&.
110.SH "AUTHOR"
111.PP
112The 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\&.
113.PP
114The tdbbackup man page was written by John H Terpstra\&.
Note: See TracBrowser for help on using the repository browser.