Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

It's used to back up tables in hive database.after run hbash.sh databasename, automatically generate shell script hql.run ./hql to import hive table.

Notifications You must be signed in to change notification settings

EdwardsBean/hive-table-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

7 Commits

Repository files navigation

工具功能:

备份指定数据库的所有表的建表语句

使用方法:

1.将hback.sh拷贝到线上机器目录,脚本参数:database name,运行生成建表脚本:hql

./hback.sh 91pc

2.将生成的hql脚本放到线下机器,执行。自动创建备份了的表

./hql

About

It's used to back up tables in hive database.after run hbash.sh databasename, automatically generate shell script hql.run ./hql to import hive table.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /