Здравствуйте, МихаилП, Вы писали:
МП>Добрый день!
МП>Подскажите,пожалуйста, как реализовать автоматическое резервное копирование требований, опубликованных в CaliberRM?
У меня сделано так: по расписанию ночью на серваке запускается батник, в котором выполняется следующая команда:
dbmgr -backup D:\CaliberRM_Backup\SKARMRUKREQ.bak
dbmgr — это консольная утилита СУБД Versant, на которой собственно CaliberRM крутится. Она лежит в подкаталоге ..\Borland\CaliberRMServer\Lib\dbmgr.exe
Ниже на всякий случай вам привел распечатку ее возможностей.
По-моему — это самый корректный способ создания рез. копии для CaliberRM.
Usage: dbmgr -?
Detailed Help Command
This command, explains commands and switches
---------------------------------------------------
Usage: dbmgr -addvol
Add Volume Command
This command is useful for extending the size
of a database as it is nearing max capacity,
used in conjunction with the -size command
---------------------------------------------------
Usage: dbmgr -backup [Optional: full destination path]
Backup Command
This command will backup up the database into a
file specified by its full destination path.
If a filename is not specified it will be backed up
in <root drive>:\CaliberRM_Backup
Example: dbmgr -backup c:\temp\sqmdb.bak.
---------------------------------------------------
Usage: dbmgr -dropclass
Dropclass Command
This command will drop unreferenced objects from
the database. It is only needed after a manual upgrade
---------------------------------------------------
Usage: dbmgr -fix
Fix Command
This command will fix any broken links in the
database. It is recommended to do a scan of the
database first.
---------------------------------------------------
Usage: dbmgr -free
Free Command
This command will display the amount of free space
in the database, useful to decide if an Add Volume
or Optimize is needed.
---------------------------------------------------
Usage: dbmgr -new <-sample or -empty> <dbname>
New Command
This command will create a new database ready for
use. The sample switch loads the droid database.
---------------------------------------------------
Usage: dbmgr -defrag
Defrag Command
This command will defrag a database and convert
it to a single system volume.
---------------------------------------------------
Usage: dbmgr -scan
Scan Command
This command will scan a database for bad links
and print the findings.
---------------------------------------------------
Usage: dbmgr -start
Start Command
This command will start a RM server and database
---------------------------------------------------
Usage: dbmgr -stop
Stop Command
This command will stop a RM server and database
It is needed when running third-party versant
utilities
---------------------------------------------------
Usage: dbmgr -upgrade
Upgrade Command
This command will upgrade a database to the current
version. It is done automatically during an install.
---------------------------------------------------