![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
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 |
![]() |
![]()
|
![]() |
|
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.
|
|
![]() |
|
![]() |
|
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 |
|
![]() |
Telelogic DOORS
» General Discussion
»
command line archive
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.