If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!

@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)


Hosting graciously provided by:
Python Anywhere