Frequently Asked Questions: Difference between revisions
From SambaWiki
Whitecraig (talk | contribs) mNo edit summary |
Whitecraig (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
⚫ | |||
<ul> |
|||
⚫ | |||
Answered by Jerry Carter on samba@lists.samba.org |
Answered by Jerry Carter on samba@lists.samba.org |
||
[http://lists.samba.org/archive/samba/2005-March/102412.html] |
[http://lists.samba.org/archive/samba/2005-March/102412.html] |
||
Samba uses a lightweight database called Trivial Database |
Samba uses a lightweight database called Trivial Database |
||
(tdb). Here's the list (john, we should really document |
(tdb). Here's the list (john, we should really document |
||
this somewhere). |
this somewhere).<br> |
||
⚫ | |||
<table> |
<table> |
||
<tr> |
|||
⚫ | |||
necessarily important to backup).</td> |
|||
</tr> |
|||
<tr> |
<tr> |
||
<td>account_policy.tdb*</td><td>NT account policy settings such as pw expiration, etc...</td> |
<td>account_policy.tdb*</td><td>NT account policy settings such as pw expiration, etc...</td> |
||
Line 84: | Line 79: | ||
group_mapping.tdb |
group_mapping.tdb |
||
share_info.tdb |
share_info.tdb |
||
==vfs - An example for a recycle container on a samba share == |
|||
</li> |
|||
vfs objects = recycle |
|||
⚫ | |||
recycle:keeptree = yes |
|||
⚫ | |||
recycle:versions = yes |
|||
</ul> |
|||
recycle:touch = yes |
|||
recycle:exclude = ?~$*,~$*,*.tmp,index*.pl,index*.htm*,*.temp,*.TMP |
|||
recycle:exclude_dir= /tmp,/temp,/cache |
|||
recycle:repository = .recycle/.recycle.%u |
|||
recycle:noversions = *.doc,*.xls,*.ppt |
|||
#hide files = /.recycle.*/.recycle/ |
|||
#veto files = /.recycle.*/.recycle/ |
|||
⚫ | |||
⚫ |
Revision as of 05:52, 23 February 2006
What are tdb files?
Answered by Jerry Carter on samba@lists.samba.org [1]
Samba uses a lightweight database called Trivial Database
(tdb). Here's the list (john, we should really document
this somewhere).
(*) information persistent across restarts (but not necessarily important to backup).
account_policy.tdb* | NT account policy settings such as pw expiration, etc... |
brlock.tdb | byte range locks |
browse.dat | browse lists |
connections.tdb | share connections (used to enforce max connections, etc...) |
gencache.tdb | generic caching db |
group_mapping.tdb* | group mapping information |
lang_en.tdb | Language encodings (i think). |
locking.tdb | share modes & oplocks |
login_cache.tdb* | bad pw attempts |
messages.tdb | Samba messaging system |
netsamlogon_cache.tdb* | cache of user net_info_3 struct from net_samlogon() request (as a domain member) |
ntdrivers.tdb* | installed printer drivers |
ntforms.tdb* | installed printer forms |
ntprinters.tdb* | installed printer information |
printing/ | directory containing tdb per print queue of cached lpq output |
registry.tdb | Windows registry skeleton (connect via regedit.exe) |
sessionid.tdb | |
share_info.tdb* | share acls |
unexpected.tdb | unexpected packet queue needed to support windows clients that respond on a difference port that the originating request) (i could be wrong on this one). |
winbindd_cache.tdb | winbindd's cache of user lists, etc... |
winbindd_idmap.tdb* | winbindd's local idmap db |
wins.dat* | wins database when 'wins support = yes' |
The following tdb's should be backed up IMO:
nt*.tdb
account_policy.tdb
group_mapping.tdb
share_info.tdb
vfs objects = recycle recycle:keeptree = yes recycle:versions = yes recycle:touch = yes recycle:exclude = ?~$*,~$*,*.tmp,index*.pl,index*.htm*,*.temp,*.TMP recycle:exclude_dir= /tmp,/temp,/cache recycle:repository = .recycle/.recycle.%u recycle:noversions = *.doc,*.xls,*.ppt #hide files = /.recycle.*/.recycle/ #veto files = /.recycle.*/.recycle/