您的位置:首页 > 运维架构

如何导入导出sitescope数据

2016-02-03 18:21 393 查看
有时候需要导入导出sitescope数据,便于迁移和恢复。

1、在windows下,可以直接开始菜单的配置工具通过界面操作来很方便的导入导出,还有修改端口,修改jvm大小等功能。





2、在linux中,也可以通过命令行来操作。

启动配置工具
cd /data/app/SiteScope/bin
./configTool.sh -console

Press 1 for Next, 3 to Cancel or 4 to Redisplay [1]

Select the configuration type:

[ ] 1 - Basic configuration (Change the new interface port)
[ ] 2 - Export / Import User Data
输入2进行导入导出用户数据

To select an item enter its number, or 0 when you are finished: [0] 2

[ ] 1 - Basic configuration (Change the new interface port)
[X] 2 - Export / Import User Data

To select an item enter its number, or 0 when you are finished: [0]
输入2进行导出用户数据

Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]

Import User Data Settings

[X] 1 - Import User Data
[ ] 2 - Export User Data

To select an item enter its number, or 0 when you are finished: [0] 2

Enter 0 to continue or 1 to make another selection: [0]
确认配置工具路径,直接按回车

Enter HP SiteScope Configuration Tool current installation directory:
[/data/app/SiteScope]
输入已经存在的备份文件路径/data/app/SiteScope/data

Enter target directory (where the backup file will be saved): [] /data/app/SiteScope/data
输入备份文件名,这里用默认,回车

Enter the backup file name (*.zip): [SiteScope.zip]
选择是否包含日志log文件

To select an item enter its number, or 0 when you are finished: [0] 1

[X] 1 - Include log files

To select an item enter its number, or 0 when you are finished: [0]
依次按1,3完成退出

Press 1 for Next, 2 for Previous, 3 to Cancel or 4 to Redisplay [1]

HP SiteScope Configuration Tool completed.
Click Finish to exit.

Press 3 to Finish or 4 to Redisplay [3]
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: