You can use the online method to back up a IBM
Spectrum® Control database
and ensure continuous availability of the database and the applications
that use it.
When you use the online backup method, Db2® does not
clean up old archive log files. You need to have processes in place to clean up the old log files
after a specific amount of time to prevent the system from filling up. You also need to plan for the
amount of space you might need. The log space that is required for a IBM
Spectrum Control database can grow larger than the Db2 database over period of time.
To backup the database, complete these steps:
- Open IBM® Data Studio
client.
- Start the IBM Data
Studio client.
To start the product from a command
window, enter:
- On the New Connection page, select Db2 for Linux, UNIX
and Windows and configure your IBM
Spectrum Control database connection parameters.
- Click Next.
- On the Database Administration - IBM Data Studio page, expand
Db2 .
- Right-click Db2 for Linux, UNIX and Windows and select
.
- On the Configure Database Logging TPCDB page,
click Logging Type and select Archive.
- Click Logging Size and enter your
log file size information. For example, 2500.
- Click Log Location and enter the Db2 log path information.
- On theDatabase Administration - IBM Data Studio page, expand
Db2 .
- Right-click Db2 and select TPCDB and select
.
- Click Backup Image and select File
System as the media type.
- Click Backup Options.
- In the Backup options compression and throttle section,
select the Compress backup image and Throttle
this utility to regulate the performance impact on the database workload check
boxes.
- Click Backup Performance.
You can increase the number of table spaces and buffers,
from the default values, to improve performance.
- After you set all of the options, click Run or Preview
Command to see the actual Db2 command that is run
as part of the backup.
The online database backup to a file system is run and the backup is complete.Tip: You can also perform an online backup of the IBM
Spectrum Control databases to an IBM Storage Protect™ server. The significant difference
between online and offline backup is the need to enable archive logging on the databases. When you
use the online method, it provides many backup and recovery benefits at the expense of increased
complexity in the database operation. Set up and test your Db2
to IBM Storage Protect integration before you
implement the online method to the IBM Storage Protect output destination to verify the
communication is working properly.