change bat and sh commands name from backup-export to data-export(#2)
diff --git a/README.md b/README.md index 75fe575..f695fd0 100644 --- a/README.md +++ b/README.md
@@ -63,7 +63,7 @@ 2. Unviewable export files, export files in compressed format, take up less disk space, suitable for some backup work; now supported compression formats TSFILE、SNAPPY, GZIP, etc. ## Export -Export command tool: backup-export.bat/backup-export.sh +Export command tool: data-export.bat/data-export.sh ```` -h // iotdb host address -p // port @@ -80,7 +80,7 @@ ```` ## Import -Import command tool: backup-import.bat/backup-import.sh +Import command tool: data-import.bat/data-import.sh ```` -h // iotdb host address -p // port @@ -109,7 +109,7 @@ --- > Export the d1 device, export the file to d:/company1/machine, select the second file strategy (extra file), need to generate a time series structure, the file format is gzip ```` -backup-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\company1\\machine -i root.ln.company1.diggingMachine.d1 -sy true -se true -c gzip +data-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\company1\\machine -i root.ln.company1.diggingMachine.d1 -sy true -se true -c gzip ```` > Export results: > TIMESERIES_STRUCTURE.STRUCTURE records the time series structure @@ -119,7 +119,7 @@ --- > Export all devices under company1, export the file to d:/company1/machine, select the first file strategy, do not need to generate a time series structure, the file format is csv ```` -backup-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\company1\\machine -i root.ln.company1.** -sy false -se false -c csv +data-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\company1\\machine -i root.ln.company1.** -sy false -se false -c csv ```` > Export results: > d2.csv @@ -128,7 +128,7 @@ --- > Export all devices under root.ln, export files to d:/all/devices, select the first file strategy, need to generate time series structure, file format csv ```` -backup-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\all\\devices -i root.ln.** -sy false -se true -c csv -w "time > 1651036025230" +data-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\all\\devices -i root.ln.** -sy false -se true -c csv -w "time > 1651036025230" ```` > Export results: > TIMESERIES_STRUCTURE.STRUCTURE records the time series structure @@ -139,11 +139,11 @@ --- > Import data, specify the folder d:/all/devices to export data, need to import time series, file format csv ```` -backup-import.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\all\\devices -se true -c csv +data-import.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\all\\devices -se true -c csv ```` --- ps: export tsfile ```` -backup-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\tsfileexport\\A106 -i root.yyy.** -se false -c tsfile -vn 3 -pi 604800 +data-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\tsfileexport\\A106 -i root.yyy.** -se false -c tsfile -vn 3 -pi 604800 ```` if you want to import tsfile,please use [Load External TsFile Tool](https://iotdb.apache.org/zh/UserGuide/V0.13.x/Write-And-Delete-Data/Load-External-Tsfile.html). \ No newline at end of file
diff --git a/backup-command/src/assembly/resources/commands/backup-export.bat b/backup-command/src/assembly/resources/commands/data-export.bat similarity index 100% rename from backup-command/src/assembly/resources/commands/backup-export.bat rename to backup-command/src/assembly/resources/commands/data-export.bat
diff --git a/backup-command/src/assembly/resources/commands/backup-export.sh b/backup-command/src/assembly/resources/commands/data-export.sh similarity index 100% rename from backup-command/src/assembly/resources/commands/backup-export.sh rename to backup-command/src/assembly/resources/commands/data-export.sh
diff --git a/backup-command/src/assembly/resources/commands/backup-import.bat b/backup-command/src/assembly/resources/commands/data-import.bat similarity index 100% rename from backup-command/src/assembly/resources/commands/backup-import.bat rename to backup-command/src/assembly/resources/commands/data-import.bat
diff --git a/backup-command/src/assembly/resources/commands/backup-import.sh b/backup-command/src/assembly/resources/commands/data-import.sh similarity index 100% rename from backup-command/src/assembly/resources/commands/backup-import.sh rename to backup-command/src/assembly/resources/commands/data-import.sh
diff --git a/readme_zh.md b/readme_zh.md index 1cb85b3..8d31343 100644 --- a/readme_zh.md +++ b/readme_zh.md
@@ -64,7 +64,7 @@ 2. 不可以查看的导出文件,导出压缩格式的文件,占用磁盘空间比较小,适合做一些备份工作;现在支持的压缩格式TSFILE、SNAPPY、GZIP等 ## 导出 -导出命令工具:backup-export.bat/backup-export.sh +导出命令工具:data-export.bat/data-export.sh ```` -h // iotdb host address -p // port @@ -81,7 +81,7 @@ ```` ## 导入 -导入命令工具: backup-import.bat/backup-import.sh +导入命令工具: data-import.bat/data-import.sh ```` -h // iotdb host address -p // port @@ -110,7 +110,7 @@ --- > 导出d1设备,导出文件到d:/company1/machine,文件策略选择第二种(额外文件),需要生成时间序列结构,文件格式gzip ```` -backup-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\company1\\machine -i root.ln.company1.diggingMachine.d1 -sy true -se true -c gzip +data-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\company1\\machine -i root.ln.company1.diggingMachine.d1 -sy true -se true -c gzip ```` > 导出结果: > TIMESERIES_STRUCTURE.STRUCTURE 记录时间序列结构 @@ -119,7 +119,7 @@ --- > 导出company1下所有设备,导出文件到d:/company1/machine,文件策略选择第一种,不需要生成时间序列结构,文件格式csv ```` -backup-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\company1\\machine -i root.ln.company1.** -sy false -se false -c csv +data-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\company1\\machine -i root.ln.company1.** -sy false -se false -c csv ```` > 导出结果: > d2.csv @@ -127,7 +127,7 @@ --- > 导出root.ln下所有设备,导出文件到d:/all/devices,文件策略选择第一种,需要生成时间序列结构,文件格式csv ```` -backup-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\all\\devices -i root.ln.** -sy false -se true -c csv -w "time > 1651036025230" +data-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\all\\devices -i root.ln.** -sy false -se true -c csv -w "time > 1651036025230" ```` > 导出结果: > TIMESERIES_STRUCTURE.STRUCTURE 记录时间序列结构 @@ -137,11 +137,11 @@ --- > 导入数据,指定导出数据的文件夹d:/all/devices,需要导入时间序列,文件格式csv ```` -backup-import.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\all\\devices -se true -c csv +data-import.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\all\\devices -se true -c csv ```` --- ps: 导出 tsfile ```` -backup-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\tsfileexport\\A106 -i root.yyy.** -se false -c tsfile -vn 3 -pi 604800 +data-export.bat -h 127.0.0.1 -p 6667 -u root -pw root -f d:\\tsfileexport\\A106 -i root.yyy.** -se false -c tsfile -vn 3 -pi 604800 ```` 如果你想导入tsfile文件,请使用 [Load External TsFile Tool工具](https://iotdb.apache.org/zh/UserGuide/V0.13.x/Write-And-Delete-Data/Load-External-Tsfile.html)。 \ No newline at end of file