Unix and Linux Discussions Tagged with samba |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
22,843 |
Solaris |
|
|
|
2 |
14,721 |
UNIX for Advanced & Expert Users |
|
|
|
14 |
40,377 |
AIX |
|
|
|
1 |
17,470 |
AIX |
|
|
|
8 |
6,348 |
UNIX for Beginners Questions & Answers |
|
|
|
27 |
23,762 |
Ubuntu |
|
|
|
19 |
21,612 |
Ubuntu |
|
|
|
11 |
16,169 |
Debian |
|
|
|
0 |
2,516 |
UNIX for Beginners Questions & Answers |
|
|
|
0 |
3,428 |
Red Hat |
|
|
|
0 |
2,517 |
Red Hat |
|
|
|
0 |
3,586 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
8,600 |
Proxy Server |
|
|
|
2 |
3,451 |
Red Hat |
|
|
|
3 |
7,395 |
SCO |
|
|
|
0 |
2,800 |
Solaris |
|
|
|
1 |
4,432 |
HP-UX |
|
|
|
9 |
9,860 |
Windows & DOS: Issues & Discussions |
|
|
|
1 |
4,852 |
Ubuntu |
|
|
|
12 |
6,970 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,087 |
AIX |
|
|
|
1 |
3,580 |
Ubuntu |
|
|
|
6 |
2,378 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,454 |
UNIX and Linux Applications |
|
|
|
1 |
4,796 |
IP Networking |
|
|
|
3 |
20,210 |
Red Hat |
|
|
|
3 |
15,213 |
Red Hat |
|
|
|
4 |
8,956 |
UNIX Desktop Questions & Answers |
|
|
|
1 |
3,638 |
Red Hat |
|
|
|
1 |
4,269 |
SCO |
|
|
|
0 |
2,628 |
Solaris |
|
|
|
4 |
4,767 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,990 |
UNIX and Linux Applications |
|
|
|
2 |
4,222 |
Windows & DOS: Issues & Discussions |
|
|
|
8 |
13,014 |
Shell Programming and Scripting |
|
|
|
11 |
9,853 |
Linux |
|
|
|
0 |
3,383 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,083 |
Shell Programming and Scripting |
|
|
|
9 |
6,707 |
Shell Programming and Scripting |
|
|
|
0 |
12,338 |
Linux |
TDBBACKUP(8) System Administration tools TDBBACKUP(8)
NAME
tdbbackup - tool for backing up and for validating the integrity of samba .tdb files
SYNOPSIS
tdbbackup [-s suffix] [-v] [-h]
DESCRIPTION
This tool is part of the samba(1) suite.
tdbbackup 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.
OPTIONS
-h
Get help information.
-s suffix
The -s 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.
-v
The -v will check the database for damages (currupt data) which if detected causes the backup to be restored.
COMMANDS
GENERAL INFORMATION
The tdbbackup 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:
tdbbackup [-s suffix] *.tdb
Before restarting samba the following command may be run to validate .tdb files:
tdbbackup -v [-s suffix] *.tdb
Samba .tdb files are stored in various locations, be sure to run backup all .tdb file on the system. Important files includes:
o secrets.tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
o passdb.tdb - usual location is in the /usr/local/samba/private directory, or on some systems in /etc/samba.
o *.tdb located in the /usr/local/samba/var directory or on some systems in the /var/cache or /var/lib/samba directories.
VERSION
This man page is correct for version 3 of the Samba suite.
AUTHOR
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.
The tdbbackup man page was written by John H Terpstra.
Samba 3.5 06/18/2010 TDBBACKUP(8)