首页 > 代码库 > Oracle数据备份bat

Oracle数据备份bat

@echo onsetlocalrem 设置数据库和备份文件参数...set sid=testorclset username=testnameset password=testpwdset bakdir=E:\BackUp\HOMAOAset bakdate=%date:~11%set connect=%username%/%password%@%sid%rem 执行文件备份......exp %connect%  buffer=100000000 file=%bakdir%\testorcl数据备份_%bakdate%_bak.dmp  log=%bakdir%\testorcl备份日志_%bakdate%_bak.log compress=y full=y DIRECT=yendlocal

Oracle数据备份bat