tsm 自身数据库备份

在p740db上(tsmserver)
#cd /tsmfs
#mkdir dbbackup
在p770db上:
#dsmadmc
tsm: TSMSERVER>DEFINE DEVCLASS TSMDBFILE DEVTYPE=FILE MAXCAPACITY=3G DIRECTORY=/tsmfs/dbbackup
ANR2203I Device class TSMDBFILE defined.
tsm: TSMSERVER>q devclass

Device        Device         Storage     Device        Format      Est/Max      Mount
Class         Access            Pool     Type                     Capacity      Limit
Name          Strategy         Count                                  (MB)    
---------     ----------     -------     ---------     ------     --------     ------
DISK          Random               3                                                
LTOCLASS      Sequential           2     LTO           DRIVE                   DRIVES
TSMDBFILE     Sequential           0     FILE          DRIVE       3,072.0         20
tsm: TSMSERVER>DEFINE SCHEDULE AutoBackupTSM Type=a CMD="backup db type=full devclass=TSMDBFILE " STARTTIME=07:00:00 PERIOD=1 PERUNITS=days PRIORITY=1 DURATION=1 DURUNITS=hours ACTIVE=YES
ANR2577I Schedule AUTOBACKUPTSM defined.

tsm: TSMSERVER>q sch type=a

*     Schedule Name        Start Date/Time          Duration     Period     Day
-     ----------------     --------------------     --------     ------     ---
      AUTOBACKUPTSM        11/08/12   07:00:00          1 H        1 D      Any
     
tsm: TSMSERVER>BACKUP DB DEVCLASS=TSMDBFILE TYPE=FULL
ANR2280I Full database backup started as process 4.
ANS8003I Process number 4 started.     


在p740db上(tsmserver)
wolf_p740db:/tsmfs/dbbackup# ls -l
total 5104
-rw-------    1 root     system      2611248 Nov 08 04:10 52319041.dbb

你可能感兴趣的:(tsm 自身数据库备份)