1TDBBACKUP(8) System Administration tools TDBBACKUP(8)
2
3
4
6 tdbbackup - tool for backing up and for validating the integrity of
7 samba .tdb files
8
10 tdbbackup [-s suffix] [-v] [-h]
11
13 This tool is part of the samba(1) suite.
14
15 tdbbackup is a tool that may be used to backup samba .tdb files. This
16 tool may also be used to verify the integrity of the .tdb files prior
17 to samba startup or during normal operation. If it finds file damage
18 and it finds a prior backup the backup file will be restored.
19
21 -h
22 Get help information.
23
24 -s suffix
25 The -s option allows the adminisistrator to specify a file backup
26 extension. This way it is possible to keep a history of tdb backup
27 files by using a new suffix for each backup.
28
29 -v
30 The -v will check the database for damages (currupt data) which if
31 detected causes the backup to be restored.
32
34 GENERAL INFORMATION
35
36 The tdbbackup utility can safely be run at any time. It was designed so
37 that it can be used at any time to validate the integrity of tdb files,
38 even during Samba operation. Typical usage for the command will be:
39
40 tdbbackup [-s suffix] *.tdb
41
42 Before restarting samba the following command may be run to validate
43 .tdb files:
44
45 tdbbackup -v [-s suffix] *.tdb
46
47 Samba .tdb files are stored in various locations, be sure to run backup
48 all .tdb file on the system. Important files includes:
49
50 · secrets.tdb - usual location is in the /usr/local/samba/private
51 directory, or on some systems in /etc/samba.
52
53 · passdb.tdb - usual location is in the /usr/local/samba/private
54 directory, or on some systems in /etc/samba.
55
56 · *.tdb located in the /usr/local/samba/var directory or on some
57 systems in the /var/cache or /var/lib/samba directories.
58
60 This man page is correct for version 3 of the Samba suite.
61
63 The original Samba software and related utilities were created by
64 Andrew Tridgell. Samba is now developed by the Samba Team as an Open
65 Source project similar to the way the Linux kernel is developed.
66
67 The tdbbackup man page was written by John H Terpstra.
68
69
70
71Samba 3.6 02/24/2010 TDBBACKUP(8)