Restoring the Cloud Pak for Data file system from a local repository or object store
You can do an offline restore of the persistent volumes that are associated with your IBM® Cloud Pak for Data project from a local repository or an S3 or S3 compatible object store.
Before you begin
Cloud Pak for Data provides the cpd-cli backup-restore command-line interface for backing up and restoring the file system. Before you run any cpd-cli backup-restore commands, ensure that:
You completed the steps in Installing the Cloud Pak for Data file system backup and restore service.
You must have created a backup of the volumes.
If you are restoring Watson™ Studio on
NFS, there are pre-restore
steps that you must do.
About this task
During the restore process, write operations in application workloads are suspended (quiesced). The quiesce command calls hooks provided by Cloud Pak for Data services to do the quiesce. Quiesce hooks that are provided by Cloud Pak for Data services offer optimizations or other enhancements compared to scaling down all resources in the project (namespace). Services might be quiesced and unquiesced in a certain order, or services might be suspended without having to bring down pods to reduce the time it takes to bring down applications and bring them back up.
- Manually scale down resources, restore volumes, and then manually scale up resources.
- Automatically scale down resources, restore volumes, and automatically scale up resources with a single command.
The commands in the following section use an example Cloud Pak for Data project named zen.
For a list of all possible options, enter the command ./cpd-cli backup-restore
-h.