You must use the db2acsutil command
to manage snapshot backup objects. Do not move or delete snapshot
backup objects using file system utilities.
Before you begin
To
perform snapshot backup and restore operations, you need a DB2® ACS API driver for your storage
device. Integrated into IBM® Data
Server is a DB2 ACS API driver
for the following storage hardware:
Before
you can manage snapshot backup objects, you must enable DB2 Advanced Copy Services (ACS). See: Enabling DB2 Advanced Copy Services (ACS).
Restrictions
The db2acsutil command
is currently only supported on AIX® and Linux.
Procedure
- To list available snapshot backup objects, use the QUERY parameter.
For example, to list available snapshot backup objects
for the database manager instance named dbminst1,
use the following syntax:
db2acsutil query instance dbminst1
- To check the progress of a given snapshot backup operation,
use the STATUS parameter.
For
example, to see the progress of snapshot backup operations that might
be currently running on a database called database1,
use the following syntax:
db2acsutil query status db database1
- To delete a particular snapshot backup object, use the DELETE parameter.
For example, to delete all snapshot backup objects for
the database called database1 that are older then
10 days, use the following syntax:
db2acsutil delete older than 10 days ago db database1