@echo off
@echo. Backup completo DataBase
C:
cd "C:\Program Files\SAPDB\DBM2"
date /T > C:\ibm\log\data_exec.txt
find "05/30/2009" C:\ibm\log\data_exec.txt
if ERRORLEVEL 1 goto backtws
rem dbmcli -d PRC -u control,control db_stop
rem dbmcli -d PRC -u control,control db_warm
:backtws
dbmcli -d PRC -u control,control -uUTL -c backup_start FULLBKP migration
dbmcli -d PRC -u control,control -uUTL -c autolog_on
C:
cd "C:\Program Files\Tivoli\TSM\baclient"
rem dsmc arch "N:\backup\FULL\fullbkp.dat" -archmc=ARCH_SAP -delete
rem dsmc arch "N:\backup\autolog\autolog*" -archmc=ARCH_SAP -delete
dsmc arch "S:\backup\FULL\fullbkp.dat" -archmc=mc_dr
dsmc arch "S:\backup\autolog\autolog*" -archmc=mc_dr -delete
Comments (0)