Step 1: Create folder where you want to store the DB backup
ANS8001I Return code 3.
mkdir E:\dbbackup
Step 2: update the device class ‘maximum volume capacity’ and ‘path to store
files’
UPDATE DEVCLASS FILEDEV1 DIR=E:\DBBACKUP MAXCAP=50G SHARED=YES
Step 3: Take full backup of DB
backup db type=full devclass=filedev1
Error will generate:
ANR2590E BACKUP DB failed - SET DBRECOVERY command has not
been issued.ANS8001I Return code 3.
Step 4: Set device class for automatic DB backup to FILEDEV1
set dbrecovery filedev1
Step 5: Again take full backup of DB
backup db type=full devclass=filedev1
Now process will start and at the end it will show message
like “Database Backup running in the BACKGROUND completed with completion state
SUCCESS at xx:xx:xx.”
There are following
types of backup you can run. This parameter is optional. The default is
INCREMENTAL.
a)
Incremental
An incremental (or
cumulative) backup image contains a copy of all database data that has changed
since the last successful full backup operation was performed.
b)
Full
To run a full backup
of the Tivoli Storage Manager database.
c)
DBSnapshot
To run a full snapshot
database backup. The entire contents of a database are copied and a new
snapshot database backup is created without interrupting the existing full and
incremental backup series for the database.
Step 6: Take backup of Server sequential volume history information file
backup volhist f=e:\dbbackup\volhist.out wait=yes
Step 7: Take backup of Server device configuration information file
backup devconfig f=e:\dbbackup\devconfig.out wait=yes
Step 6: Delete sequential volume
history entries
delete volhist t=dbb todate=today-2 wait=yes