@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/[email protected] file=%dbbarkdir%\mt%dbbarkfile%.dmp
时间: 2024-11-25 09:40:09