linux下的数据库备份
要学习的还很多,留在博客里存档比存在电脑里要保险的多。 在oracle用户下,oracle/bin目录下才有exp和imp的命令。 su - oracle 导出数据库: exp test/test log=/tmp/exp.log file=/tmp/exp.dmp full=y --//删除用户 drop user 用户名 cascade; --//执行该语句请小心,会级联删除该用户下所有对象。 --//创建临时表空间 create temporary tablespace temp 2 tempfile '/tmp/oracle10g/tmp.dbf' 3 size 64m autoextend on 4 next 64m maxsize 2048m &nb