rebuild-freeipa

subtitle

Recreate FreeIPA in case of disaster.

version

0.9.124

Description

If FreeIPA backups are available and all of the FreeIPA nodes are lost, this command recreates FreeIPA from scratch and restores backup.

Synopsis

  rebuild-freeipa
--environment <value>
--freeipa-crn <value>
--instance-to-restore-fqdn <value>
--full-backup-storage-location <value>
--data-backup-storage-location <value>
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--environment (string)

The environment name or CRN.

--freeipa-crn (string)

CRN of the FreeIPA to rebuild. Must be in the environment specified in ‘environmentName’.

--instance-to-restore-fqdn (string)

The instance’s Fully Qualified Domain Name (FQDN) that will be restored from the backups. This must match the FQDN of the instance from which the backup was taken.

--full-backup-storage-location (string)

Full backup location on the cloud storage. This backup was created during the provisioning of the instance. By default, no additional full backups are created for a single instance.

--data-backup-storage-location (string)

Data/hourly backup location on the cloud storage. These are created in every hour. Usually the lastest one is required, so there won’t be any data loss.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

operation -> (object)

Response object for a FreeIPA operation.

operationId -> (string)

Operation ID of the request for this operation. This ID can be used for getting status of the operation.

status -> (string)

Status of an operation.

successfulOperationDetails -> (array)

List of details for all successful operations. If the operation is only partially successful both successful and failure operation details will be populated.

item -> (object)

Details object of the operation for success or falure.

environmentCrn -> (string)

environment crn.

message -> (string)

The detail of the success or failure.

failureOperationDetails -> (array)

List of details for failed operations. If the operation is only partially successful both successful and failure operation details will be populated.

item -> (object)

Details object of the operation for success or falure.

environmentCrn -> (string)

environment crn.

message -> (string)

The detail of the success or failure.

error -> (string)

The error will be populated on any error and it may be populated when the operation failure details are empty. Typically contains high level information such as the associated failure phase.

startDate -> (datetime)

Date when the operation started.

endDate -> (datetime)

Date when the operation ended. Omitted if operation has not ended.

environmentCrn -> (string)

The environment CRN of the FreeIPA to rebuild

freeipaCrn -> (string)

CRN of the FreeIPA to rebuild. Must be in the environment specified in ‘environmentName’.

instanceToRestoreFqdn -> (string)

The instance’s Fully Qualified Domain Name (FQDN) that will be restored from the backups. This must match the FQDN of the instance from which the backup was taken.

fullBackupStorageLocation -> (string)

Full backup location on the cloud storage. This backup was created during the provisioning of the instance. By default, no additional full backups are created for a single instance.

dataBackupStorageLocation -> (string)

Data/hourly backup location on the cloud storage. These are created in every hour. Usually the lastest one is required, so there won’t be any data loss.

Form Factors

public, private