Home  >  Article  >  Database  >  linux 命令行下,oracle数据库的导入、导出命令

linux 命令行下,oracle数据库的导入、导出命令

WBOY
WBOYOriginal
2016-06-07 15:19:202635browse

//在命令行下使用如下语句进行备份: exp omsuser/omsuser@orcl file=/home/lxm/omsfnaoc/data/oms.dmp exp zhang/zhang@orcl file=/home/lxm/omsfnaoc/data/zhang.dmp //导入数据库 imp userid=omsuser/omsuser@orcl file=/home/lxm/omsfnaoc/data/oms.dmp

//在命令行下使用如下语句进行备份:
exp omsuser/omsuser@orcl file=/home/lxm/omsfnaoc/data/oms.dmp

exp zhang/zhang@orcl file=/home/lxm/omsfnaoc/data/zhang.dmp

//导入数据库
imp userid=omsuser/omsuser@orcl file=/home/lxm/omsfnaoc/data/oms.dmp fromuser=omsuser touser=omsuser

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn