@echo ********************************
@echo 数据库备份
@echo ********************************
@echo off

set h=%time:~0,2%

if %h% leq 9 (set h=0%h:~1,1%)

set dbbarkfile=%date:~0,4%%date:~5,2%%date:~8,2%%h%%time:~3,2%%time:~6,2%

set dbbarkdir=e:\application\dbbarkup\%dbbarkfile%

mkdir %dbbarkdir%

@echo ********************************
@echo mt备份
@echo ********************************

exp mt/mt@orcl file=%dbbarkdir%\mt%dbbarkfile%.dmp

 

相关文章:

  • 2022-12-23
  • 2021-12-14
  • 2022-12-23
  • 2022-12-23
  • 2021-12-06
  • 2022-12-23
  • 2021-10-15
  • 2021-10-02
猜你喜欢
  • 2021-07-20
  • 2022-02-20
  • 2022-12-23
  • 2022-12-23
  • 2021-08-08
  • 2022-12-23
相关资源
相似解决方案