|
为了迁移到不同的数据库,你必须先备份SQL数据, 配置数据库,然后再通过恢复操作导入数据. 这些操作可以通过 FishEye/Crucible administration console, 或通过 command line tool 实现. 后面将详细介绍这两种方法. The following resources may be of interest:
开始之前:
.jar 文件再 classpath (将 .jar 文件复制到 inFISHEYE_INST/lib).要配置 FishEye/Crucible 使用 SQL Server并通过管理界面迁移数据:
要登录到管理界面,你可以:
HOSTNAME 是安装FishEye的服务器名称或ip
请确保使用 SQL Server 用户登录数据库,而不是Windows用户帐号 |
Screenshots: Configuring FishEye/Crucible to use SQL Server and migrating data (click to view full-size images)
要通过命令行配置 FishEye/Crucible 使用 SQL Server 并迁移数据:
在FishEye安装路径/bin下运行下面的命令:
$ ./fisheyectl.sh restore --sql \
--file /path/to/backup.zip \
--dbtype sqlserver2008 \
--jdbcurl "jdbc:jtds:sqlserver://hostname:port;databaseName=dbName;" \
--username crucible \
--password password
|