~ubuntu-branches/ubuntu/gutsy/samba/gutsy-updates

« back to all changes in this revision

Viewing changes to docs/manpages/tdbbackup.8

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Mitchell
  • Date: 2006-11-28 20:14:37 UTC
  • mfrom: (0.10.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061128201437-a6x4lzlhempazocp
Tags: 3.0.23d-1ubuntu1
* Merge from debian unstable.
* Drop python2.4-samba, replace with python-samba. Added Conflicts/Replaces
  on python2.4-samba
* Drop track-connection-dos.patch, ubuntu-winbind-panic.patch, 
  ubuntu-fix-ldap.patch, ubuntu-setlocale.patch, ubuntu-setlocale-fixes.patch
* Remaining Ubuntu changes:
  - Revert Debian's installation of mount.cifs and umount.cifs as suid
  - Comment out the default [homes] shares and add more verbose comments to
    explain what they do and how they work (closes: launchpad.net/27608)
  - Add a "valid users = %S" stanza to the commented-out [homes] section, to
    show users how to restrict access to \\server\username to only username.
  - Change the (commented-out) "printer admin" example to use "@lpadmin"
    instead of "@ntadmin", since the lpadmin group is used for spool admin.
  - Alter the panic-action script to encourage users to report their
    bugs in Ubuntu packages to Ubuntu, rather than reporting to Debian.
    Modify text to more closely match the Debian script
  - Munge our init script to deal with the fact that our implementation
    (or lack thereof) of log_daemon_msg and log_progress_msg differs
    from Debian's implementation of the same (Ubuntu #19691)
  - Kept ubuntu-auxsrc.patch: some auxilliary sources (undocumented in 
    previous changelogs)
  - Set default workgroup to MSHOME

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
.IP "\\$1" \\$2
19
19
..
20
20
.TH "TDBBACKUP" 8 "" "" ""
21
 
.SH NAME
22
 
tdbbackup \- tool for backing up and for validating the integrity of samba .tdb files
 
21
.SH "NAME"
 
22
tdbbackup - tool for backing up and for validating the integrity of samba .tdb files
23
23
.SH "SYNOPSIS"
24
 
.ad l
25
 
.hy 0
26
24
.HP 10
27
 
\fBtdbbackup\fR [\-s\ suffix] [\-v] [\-h]
28
 
.ad
29
 
.hy
30
 
 
 
25
\fBtdbbackup\fR [-s�suffix] [-v] [-h]
31
26
.SH "DESCRIPTION"
32
 
 
33
 
.PP
34
 
This tool is part of the \fBsamba\fR(1) suite\&.
35
 
 
36
 
.PP
37
 
\fBtdbbackup\fR 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\&.
38
 
 
 
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.
39
34
.SH "OPTIONS"
40
 
 
41
 
.TP
42
 
\-h
43
 
Get help information\&.
44
 
 
45
 
.TP
46
 
\-s suffix
47
 
The \fB\-s\fR 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\&.
48
 
 
49
 
.TP
50
 
\-v
51
 
The \fB\-v\fR will check the database for damages (currupt data) which if detected causes the backup to be restored\&.
52
 
 
 
35
.TP 3n
 
36
-h
 
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
 
44
-v
 
45
The
 
46
\fB-v\fR
 
47
will check the database for damages (currupt data) which if detected causes the backup to be restored.
53
48
.SH "COMMANDS"
54
 
 
55
49
.PP
56
50
\fBGENERAL INFORMATION\fR
57
 
 
58
 
.PP
59
 
The \fBtdbbackup\fR 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:
60
 
 
61
 
.PP
62
 
tdbbackup [\-s suffix] *\&.tdb
63
 
 
64
 
.PP
65
 
Before restarting samba the following command may be run to validate \&.tdb files:
66
 
 
67
 
.PP
68
 
tdbbackup \-v [\-s suffix] *\&.tdb
69
 
 
70
 
.PP
71
 
Samba \&.tdb files are stored in various locations, be sure to run backup all \&.tdb file on the system\&. Important files includes:
72
 
 
73
 
.TP 3
74
 
\(bu
75
 
\fBsecrets\&.tdb\fR \- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba\&.
76
 
.TP
77
 
\(bu
78
 
\fBpassdb\&.tdb\fR \- usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba\&.
79
 
.TP
80
 
\(bu
81
 
\fB*\&.tdb\fR located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories\&.
82
 
.LP
83
 
 
 
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
•
 
65
 
 
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
•
 
70
 
 
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
•
 
75
 
 
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.
84
78
.SH "VERSION"
85
 
 
86
79
.PP
87
 
This man page is correct for version 3\&.0 of the Samba suite\&.
88
 
 
 
80
This man page is correct for version 3.0 of the Samba suite.
89
81
.SH "AUTHOR"
90
 
 
91
 
.PP
92
 
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\&.
93
 
 
94
 
.PP
95
 
The tdbbackup man page was written by John H Terpstra\&.
 
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.
96
86