An offline snapshot is also known as a cold
snapshot.
About this task
To perform this task, you require root authority.
Procedure
-
On the head node, stop the Db2® Warehouse services
by issuing the following Docker or Podman command:
docker exec –it Db2wh stop
podman exec –it Db2wh stop
-
On each node, stop the Db2 Warehouse container by
issuing the following Docker or Podman command:
docker stop Db2wh
podman stop Db2wh
-
Use the snapshot technology of your choice to take your snapshot backup.
Alternatively, issue a
cpio or
tar command to take a file
system-level copy. Make sure that the copy is complete before you proceed to the next step. For example:
-
On each node, start the container and services by issuing the following Docker or Podman
command:
docker start Db2wh
podman start Db2wh