ccm restore command options

Last Updated : Mar 16, 2021 |

The following table lists the ccm restore command options.

Command option

Description

ccm restore <path to backup file> all

Use this command to restore Common Services from either the local or remote directory, depending on the configured archive destination.

ccm restore <path to backup file> ccm

Use this command to restore Cluster Control Manager from either the local or remote directory, depending on the configured archive destination.

ccm restore --local

This command performs the restore operation from the local <path to backup file> directory.

ccm restore --remote-server

This command performs the restore operation from your remote server. You must specify the details of your remote server.

For example, to restore Common Services, run this command as follows:

ccm restore --remote-server "<FQDN/IP> [-p <port>] -u <username>" <path to backup file> all
Note:

ccm restore --remote-server replaces the ccm restore -- sftp-destination command.

ccm restore --password

Use the --password option if you want to override the configured backup file password. This command prompts you for a new backup password.