source: vendor/3.6.23/docs/manpages/tdbbackup.8

Last change on this file was 860, checked in by Silvan Scherrer, 11 years ago

Samba 3.6: updated vendor to latest version

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