ADSM-L

Re: Db Backup to a DISK devclass ??

2001-11-07 11:00:10
Subject: Re: Db Backup to a DISK devclass ??
From: "Prather, Wanda" <Wanda.Prather AT JHUAPL DOT EDU>
Date: Wed, 7 Nov 2001 10:57:19 -0500
Yes, it's easy.
You need to define a device class of TYPE FILE.   The devclass name can be
anything you want.
MAXCAPACITY should be large enough to contain a DB backup.
The directory should be the pathname where you want the file to go.
You can define it via the command line or the browser interface, for
example:

DEFINE DEVCLASS DBFILE DEVTYPE=FILE MAXCAPACITY=204800K MOUNTLIMIT=2
DIRECTORY=/var/adsmpool

(If your server is Windows, change the directory to a D:\winpath\dir
format)

Then when you want to do the DB backup, you just specify the devclass and
SCRATCH=YES:

backup db type=full devclass=DBFILE scratch=yes

When you specify scratch=yes, TSM will create a filename for you and put the
DB backup into that directory.  The suffix of the file will be .dbb.  YOu
can see in the activity log or volumehistory the name that gets created.

If the DB backup takes more than MAXCAPACITY space, TSM will create a second
file in the same directory and continue the backup in that file.

If you do a DB RESTORE, TSM will find that file and use it.  If you have
moved the file off to a non-TSM tape of your own, you would need to put it
back on disk where TSM expects to find it, or specify a new pathname in your
RESTORE command.

************************************************************************
Wanda Prather
The Johns Hopkins Applied Physics Lab
443-778-8769
wanda_prather AT jhuapl DOT edu

"Intelligence has much less practical application than you'd think" -
Scott Adams/Dilbert
************************************************************************



<Prev in Thread] Current Thread [Next in Thread>