Another helpful feature of tdbbackup is that it can verify that a TDB file is free of corruption and automatically revert to a backup file if corruption was found.
tdbbackup的另一帮助功能是可以查看tdb文件是否损坏,且如果发现损坏则自动恢复为备份文件。
TDB files can be broadly classified into two groups: those that are persistent and those that are temporary.
TDB文件大致可分为两组:持久的和临时的。
Backing up and restoring TDB files.
备份并恢复TDB文件。
Several of the paths in Listing 1 point to locations with TDB files.
清单1中的多个路径均指向带有TDB文件的位置。
Samba comes with three tools for manipulating TDB files.
Samba附带了三种用于处理TDB文件的工具。
Table 1 showed several TDB files that persisted across reboots and that should be backed up.
表1显示了几种在重启持久存在并应该备份的TDB文件。
TDB has been extended to support clustered operation through the clustered TDB (CTDB) project and is available for use by other projects.
通过集群tdb (ClusteredTDB,CTDB)项目,TDB已经扩展为支持集群的操作且可用于其他项目。
Samba stores its TDB files in a few different places.
Samba在几个不同的地方存储其TDB文件。
The TDB in particular was written to handle many concurrent writers and binary data such as internal data structures.
TDB特别被编写来处理许多并发的编写器和二进制数据,例如内部数据结构。
The easiest way to back up TDB files is to use the tdbbackup utility that comes with Samba.
备份tdb文件最容易的方式是使用samba附带的tdbbackup实用工具。
Tdbdump: Print the contents of a TDB file.
tdbdump:打印tdb文件的内容。
If you have an existing TDB file, you can specify that name on the command line or use the open command.
如果您有现成的TDB文件,您可以在命令行上指定该名称或使用open命令。
The tdbtool utility lets you make changes to the data inside a TDB file.
tdbtool实用工具使您可以更改tdb文件内部的数据。
You can use transactions in the TDB shell to allow you to run a series of commands and apply them as a group or cancel them as a group.
您可以在tdbshell中使用事务,以便允许您运行一系列命令并作为一个组应用它们,或者作为一个组取消它们。
The TDB files shown in Table 1 should be backed up.
应该备份如表1 所示的TDB文件。
tdbbackup: Back up and validate TDB files.
tdbbackup:备份并验证TDB文件。
Download the TDB source code if you're interested in using TDB in one of your projects.
如果您有兴趣在您的一个项目中使用TDB,请下载TD b源代码。
For example, you can use the same commands even if your user data is stored in LDAP instead of TDB files.
例如,您可以使用相同的命令,即使用户数据存储在LDAP中而不是TDB文件中。
In addition, there are many temporary TDB files that store state information and cached data.
另外,存在许多存储状态信息和缓存数据的临时tdb文件。
This utility safely copies a TDB file even if it is actively being written to.
此实用工具可以安全复制TDB文件,即使其正在被积极地写入。
Tdbtool: Create, view, and modify TDB files.
tdbtool:创建、查看并修改tdb文件。
The tdbbackup command is run again but with the -v flag, which verifies a TDB file.
tdbbackup命令再次运行,但是带有-v标记,其验证TDB文件。
To use the TDB shell, just run tdbtool by itself or pass the name of the file on the command line.
要使用tdbshell,只需单独运行tdbtool或在命令行上传递文件的名称。