摘要:
1,压缩备份: tar cfvj /tmp/test.tar.bz2 /tmp/test tar cfvz /tmp/test.tar.gz /tmp/test tar xfvj /tmp/test.tar.bz2 tar xfvz /tm/test.tar.gz 解释:tar为打包指令, c:打包, f:生成目标文件, v:显示压缩过程, j:压缩后的格式为bz2, z:压缩后的格式为gz, x:解包; 查看一下压缩包的内容:tar ftz /tmp/test.tar.bz2;landen@Master:~/UntarFile/hadoop-1.0.4$ sudo apt-get insta 阅读全文
摘要:
方法 1: Restoring HBase data by importing dump files from HDFS The HBase Import utility is used to load data that has been exported by the Export utility into an existing HBase table. It is the process to restore data from the Export utility backup solution.Note : 1. 导入的元数据及数据必须与之前导出的表一一对应(相同的表和相同的列簇) 阅读全文