1TDBBACKUP(8)                                                      TDBBACKUP(8)
2
3
4

NAME

6       tdbbackup  -  tool  for  backing up and for validating the integrity of
7       samba .tdb files
8

SYNOPSIS

10       tdbbackup [-s suffix] [-v] [-h]
11

DESCRIPTION

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

OPTIONS

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

COMMANDS

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       ·
51
52          secrets.tdb - usual  location  is  in  the  /usr/local/samba/private
53          directory, or on some systems in /etc/samba.
54
55       ·
56
57          passdb.tdb  -  usual  location  is  in  the /usr/local/samba/private
58          directory, or on some systems in /etc/samba.
59
60       ·
61
62          *.tdb located in the /usr/local/samba/var directory or on some  sys‐
63          tems in the /var/cache or /var/lib/samba directories.
64

VERSION

66       This man page is correct for version 3.0 of the Samba suite.
67

AUTHOR

69       The  original  Samba  software  and  related  utilities were created by
70       Andrew Tridgell. Samba is now developed by the Samba Team  as  an  Open
71       Source project similar to the way the Linux kernel is developed.
72
73       The tdbbackup man page was written by John H Terpstra.
74
75
76
77
78                                                                  TDBBACKUP(8)
Impressum