ccmdb unpa|unpack packfile [/p|/space dbspace] /t|/to database_path [/url server_url]
将数据库解包之前:
将数据库解包后(特别是从打包的生产数据库解包),您可能需要更改一些数据库特性。例如,项目工作区的路径。有关更改数据库属性的重要信息,请参阅work_area 命令。
此命令的用户为 Rational Synergy 管理员。
将培训数据库解包到名为 train72 的新数据库中。
> ccmdb unpack packfiles\training.cpk /t \\orbit1\ccmdb\train72
Enter user-name who has privileges of
CREATE USER, DROP USER, CREATE ANY INDEX, DROP ANY INDEX,
CREATE ANY SEQUENCE, CREATE ANY TABLE, INSERT ANY TABLE,
DROP ANY TABLE, SELECT ANY TABLE, UPDATE ANY TABLE,
DELETE ANY TABLE, and GRANT ANY OBJECT PRIVILEGE: sys
Enter password:
Unpacking database \\orbit1\ccmdb\train72.
Creating Rational Synergy database \\orbit1\ccmdb\train72.
Database create succeeded.
Extracting pack file
\\pulsar2\ccmred\ccmred.sol\cmred_odd\packfiles\training.cpk.
Loading database.
loading Rational Synergy dump file version 7.2 platform Windows ...
loading table attrib...
.................................3380 records.
loading table bind...
...343 records.
loading table bsite...
..223 records.
loading table compver...
...368 records.
loading table control...
0 records.
loading table relate...
..224 records.
loading table release...
10 records.
loading table acckeys...
22 records.
Database unpacked successfully.