有时候需要导入导出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/dataEnter 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]
版权声明:本文为feigoliu原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。