Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: dtb and dtc files
Topic Summary: What do these files do?
Created On: 17-Jul-2007 10:04
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 17-Jul-2007 10:04
User is offline View Users Profile Print this message


Martin Hunter

Posts: 86
Joined: 10-Jan-2005

I will shortly be copying our DOORS database to a new server. On inspection I have noticed that the database folder has about 70+ dtb and dtc files. Several of these files have recent dates however the majority are several years old.

Does anyone know what these files represent:
  Do they indicate open modules? 
  Are the old files the result of a crash?



-------------------------
- Martin
Report this to a Moderator Report this to a Moderator
 18-Jul-2007 01:10
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

Notice that each *.dtc is paired with a file with the same name but extention *.dtb.

dtc are the 'current' database files. dtb are the 'backup' files are represent the dtc file before its updated. When DOORS updates files, its algorithm is perhaps something like this:
Calculate what you want the file's contents to be.
rename *.dtb to *.dtx
rename *.dtc to *.dtb
save *.dtc
If everything went well then delete *.dtx
else delete *.dtc; rename *.dtb back to *.dtc; rename *.dtx back to *.dtb.

I imagine that 'if everytning went OK' really means 'did all the files I need to save get saved?', and otherwise all these files are reinstated.

In anycase, you don't care. Turn off the DOORS service, copy the database folder elsewhere, and turn the service back on. If you copy the folder while the service is running [1] someone may modify a module DURING backup which is very serious do-do for DB consistenty (double reference intended...) [2] You'll need to delete the lock file in the DB root folder before the next database will start. I don't recall the name of that file.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 0 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 0 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.