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: command line archive
Topic Summary: command line archive script
Created On: 10-Mar-2005 00:50
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.
 10-Mar-2005 00:50
User is offline View Users Profile Print this message


Tony Bouttell

Posts: 1
Joined: 9-Mar-2005

Hello, Our Doors installation is in immediate need of a backup solution. It has none at the moment Our servers are all backed up frequently using Netbackup. Having several thousand servers, ( and one Doors server ), we cannot perform manual backups. Are there any command line scripts available to perform an archive of Doors projects so we can use perform a backup of the archived data? Or can Netbackup simply backup the whole Doors installation. I did notice that when I tried to perform an archive within Doors, some of the projects were locked and I was unabale to archive them. This has me wondering if I can back an open project at all. Can I? Thanks.
Report this to a Moderator Report this to a Moderator
 17-Mar-2005 19:49
User is offline View Users Profile Print this message


Louie Landale

Posts: 2070
Joined: 12-Sep-2002

You are asking two questions: [1] how to run a DXL from the command line, and [2] how to write DXL archive projects.

[1] use the "-b" batch switch. Also use the "-D" run Dxl switch. You'd also have to use -u User and -P Password switches. Your DOORS icon or your Windows sheduled task would look something like:

... doors.exe -u MyUserName -P MyPassword -b -D "#include <d:\MyPath\MyArchiveProjectScript.dxl>"

Double click on such an ICON or schedule such a task. It will run and exit doors. The script shouldn't prompt the user for anything since its in batch mode. Be advised that typing in a Password is a dangerous proposition unless its on a secure server, and is illegal as far as US 'Secret' laws are conserned.

[2] The ArchiveProject.dxl script: You cannot archive stuff that's locked. In v52 there were scores of residual locks that had to be removed, in v71 it seems locks are removed when the user logs off. This means that you should either shut down and restart the DOORS service (to log everyone out and clear the locks), or cycle through the locks, start with:

LockList lcklist = getLocksInDatabase
for lockItem in lcklist do {

in the Lock Manager section of the DXL manual. Do that, then try to archive the Projects.

Be advised that restoring from backups or old project archives is a big pain and should only be done for unfixable data corruption.

- Louie
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 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 1 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.