oracle Dos下的备份方法
该方法只能只对于不算太大的数据库进行备份。数据库容量<10G,否则以后用rman备份。
创建批处理文件:oracle_daba_backup.bat,然后创建定时任务每天触发即可。
exp tm_trzx/tm_trzx2011@orcl file = 'TBS_TM_TRZX_%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%.dmp' log = 'TBS_TM_TRZX_%date:~0,4%%date:~5,2%%date:~8,2%%time:~0,2%%time:~3,2%_exp.log' buffer=204800
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/3090/viewspace-702053/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/3090/viewspace-702053/