sexta-feira, 29 de novembro de 2013

Script para backup dos bancos schema holder ( Datasul )

@echo off
rem #***************************************************************************
rem # Arquivo...............: 204sholder/scripts/prd-ems204backup.bat
rem # Descricao.............: Script para backup dos bancos schema holder
rem # Criar arquivo BAT para efetuar o processo
rem #***************************************************************************


set DLC=C:\dlc101c
set OLDPATH=%PATH%
set PATH=%DLC%\bin


for %%i in (T:\ems\204sholder\database\*.db) do (
  echo .
  echo ----------- banco: %%~ni
  echo ----------------------------------
  call probkup T:\ems\204sholder\database\%%~ni T:\ems\204sholder\backup\%%~ni.bkp
)


pause.

Nenhum comentário:

Postar um comentário