有時候需要導入導出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]