[root@localhost ~]# su oracle
[oracle@localhost root]$ exp loanadmin/123456@orcl file=/home/oracle/160926.dmp

loanadmin为用户名,123456为数据库密码,orcl为实例名,默认为orcl,file=后面为要导出到的路径和文件名。
注意:/home/oracle/ 目录oracle用户必须可写,不然会报错。
导入:
[root@localhost ~]# su oracle
[oracle@localhost root]$ imp loanadmin/123456@orcl file=/home/oracle/160926.dmp full=y ignore=y

