//剔除某张表导出
./dexp userid=CZJ/dmdbacczw directory=/home/ file=exluse.dmp log=exluse.dmp.log exclude=tables:T_USER schemas=czj
//包含某张表导出
./dexp userid=CZJ/dmdbacczw directory=/home/ file=exluse.dmp log=exluse.dmp.log include=tables:T_USER schemas=czj
//只导出表结构
./dexp userid=CZJ/dmdbacczw directory=/home/ file=exluse.dmp log=exluse.dmp.log rows=n schemas=czj
//导出指定表
./dexp userid=CZJ/dmdbacczw directory=/home/ file=exluse.dmp log=exluse.dmp.log tables=T_USER,T_ROLE
//导入数据存在时添加
./dimp userid=CZJ/dmdbacczw directory=/home/ file=exluse.dmp log=exluse.dmp.log TABLE_EXISTS_ACTION =append
//按查询条件导出指定数据
./dexp userid=CZJ/dmdbacczw directory=/home file=/home/czj01.dmp log=/home/czj01.dmp.log tables=T_USER query="where name='czj'"
达梦7逻辑备份导入导出,排除某张表,包含某张表,只导出结构,导出指定表,加查询条件导出
最新推荐文章于 2024-11-21 16:02:28 发布