ADSM-L

Scheduling database backups

1997-07-14 02:12:42
Subject: Scheduling database backups
From: "Nicholas, Murray, Haltek/AU" <MurrayNi AT HALTEK.COM DOT AU>
Date: Mon, 14 Jul 1997 16:12:42 +1000
I have a little problem with my DR backups (on Windows NT).  After backing
up all the system data I want to create a database backup then backup my
volhistory and devconfig.
This should be a relatively automatic process requiring an operator to
specify the name of the next database backup tape and mount the
corresponding 3.5inch floppy disk.  I had hoped to run a macro like this:
        backup db type=full devclass=dltclass volume=%1 scratch=no
        commit
        backup devconfig f=a:\devconfg.out
        commit
        backup volhistory f=a:\volhist.out

The problem is that the backup db command starts a background process to
run the database backup at some future time and, even with commit
statements in the macro, the backup devconfig and backup volhistory
commands are well and truly finished before the backup db has even asked
for a tape mount.  Is there a mechanism to monitor (as opposed to simply
querying) a process?
The other problem with the plan is that I am not sure how to make the
database backup tapes writable once they are returned from offsite storage.
 I have reset the DRMDBBACKUPEXPIREDAYS down to 7 now but ADSM still gives
me messages:
        ANR1490W Volume %1 already in use - skipped.
        ANR4583E Database backup terminated - output media full and scratch 
media
could not be mounted.

I am not running the DRM component.

Murray Nicholas
System Specialist
HALTEK PTY LTD
<Prev in Thread] Current Thread [Next in Thread>