How can I archive the reporting database on a regular schedule? (NETIQKB13057)

  • 7713057
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
How can I archive the reporting database on a regular schedule?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

fix

This can be accomplished by configuring a batch file to launch on a scheduled basis that copies the Oa-Rept.dra_server.mdb file to a backup location.  The example batch file below copies the file to a directory called Backup and appends the current date to the file name:

 ========start batch file==================

@echo off
for /F "tokens=2,3,4 delims=/- " %%a in ("%DATE%") do (
set M=%%a
set D=%%b
set Y=%%c
)

:: Set today's date format
set TODAY=%M%%D%%Y%

cd\

cd program files
cd netiq
cd dra
cd reporting

copy OaRept-draserver.mdb c:\backup\oarept-draserver-%TODAY%.mdb



Additional Information

Formerly known as NETIQKB13057