ADSM-L

Re: backup database

2002-11-02 14:46:45
Subject: Re: backup database
From: Zlatko Krastev/ACIT <acit AT ATTGLOBAL DOT NET>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Sat, 2 Nov 2002 13:53:23 +0200
The devclass is just a name in TSM identifying type of volumes (in your
case files). The parameter in "backup db" points to *which* type of
volumes you want your backup be sent - 3570 tape, file or something else.
In a devclass of type FILE there is DIRectory parameter which identifies
the directory to be used. Files in different directories are assumed of
different type. Thus you can have "def dev file1 devt=file dir=<dirA>" and
"def dev file2 devt=file dir=<dirB>". "backup db dev=file1" will create
the backup in dirA while "backup db dev=file2" will send it to dirB.

As result to make exactly what you want you need to
1. "define devclass bckp_db2file devt=file maxcapacity=10g 
directory=/home/servercrap/adsmstuff/DBbackup"
2. "backup db dev=bckp_db2file t=f"

Zlatko Krastev
IT Consultant






Alexander Lazarevich <alazarev AT HERA.ITG.UIUC DOT EDU>
Sent by: "ADSM: Dist Stor Manager" <ADSM-L AT VM.MARIST DOT EDU>
28.10.2002 04:09
Please respond to "ADSM: Dist Stor Manager"


        To:     ADSM-L AT VM.MARIST DOT EDU
        cc:
        Subject:        backup database


we've got adsmserv 3.1 running on an AIX 4.3.3 system, with a IBM 3575
library.

i need to backup the database, but i dont understand how to do it exactly.
ive read the manual but it sucks.

okay so the command is adsm>backup db devclass=file type=full

i need to do a full because ive never backed up the database before. but i
dont understand the devclass option. do i just type in a path to the file
that i want the backup to be? for example, if i want to backlup the
datebase to a file in /home/servercrap/adsmstuff/DBbackup, then i just do
this command:

adsm>backup db devclass=/home/servercrap/adsmstuff/DBbackup type full

if that directory already exsists, will the above command will do it?

thanks in advance!

alex
---                                                        ---
   Alex Lazarevich | Systems | Imaging Technology Group
   alazarev AT itg.uiuc DOT edu | (217)244-1565 | www.itg.uiuc.edu
---                                                        ---

<Prev in Thread] Current Thread [Next in Thread>
  • Re: backup database, Zlatko Krastev/ACIT <=