backup-datalake

subtitle

Create backup of datalake.

version

0.9.66

Description

Takes a backup of all the data in the datalake.

Synopsis

  backup-datalake
--datalake-name <value>
--backup-location <value>
[--backup-name <value>]
[--close-db-connections | --no-close-db-connections]
[--skip-ranger-hms-metadata | --no-skip-ranger-hms-metadata]
[--skip-atlas-metadata | --no-skip-atlas-metadata]
[--skip-ranger-audits | --no-skip-ranger-audits]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--datalake-name (string)

The name of the datalake.

--backup-location (string)

Location where the back-up has to be stored. For example s3a://Location/of/the/backup.

--backup-name (string)

The name of the backup.

--close-db-connections | --no-close-db-connections (boolean)

Close the database connections while performing backup. Default is true.

--skip-ranger-hms-metadata | --no-skip-ranger-hms-metadata (boolean)

Skips the backup of the databases backing HMS/Ranger services. If this option is not provided, the HMS/Ranger services are backed up by default.

--skip-atlas-metadata | --no-skip-atlas-metadata (boolean)

Skips the backup of the Atlas metadata. If this option is not provided, the Atlas metadata is backed up by default.

--skip-ranger-audits | --no-skip-ranger-audits (boolean)

Skips the backup of the Ranger audits. If this option is not provided, Ranger audits are backed up by default.

--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

accountId -> (string)

Account where the datalake exists.

backupId -> (string)

Unique identifier for the backup requested.

userCrn -> (string)

Crn of the user who triggered this operation.

internalState -> (string)

Provides the details of the internal state where the backup operation stands.

status -> (string)

Provide the current status.

startTime -> (string)

Time when the backup operation started.

endTime -> (string)

Time when the backup operation ended.

backupLocation -> (string)

Location of the backup to be used to perform restore.

operationStates -> (object)

Object representing the state of each service running a backup.

adminOperations -> (object)

The state of Cloudera Manager admin operations.

stopServices -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

startServices -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

hbase -> (object)

The state of each HBase backup/restore operation.

atlasEntityAuditEventTable -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

atlasJanusTable -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

solr -> (object)

The state of each Solr backup/restore operation.

edgeIndexCollection -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

fulltextIndexCollection -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

rangerAuditsCollection -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

vertexIndexCollection -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

edgeIndexCollectionDelete -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

fulltextIndexCollectionDelete -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

rangerAuditsCollectionDelete -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

vertexIndexCollectionDelete -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

database -> (object)

The state of the database backup/restore operation.

database -> (object)

Contains the status and failure reason of an operation.

status -> (string)

The status of the backup or restore operation.

failureReason -> (string)

The failure reason if the operation was not successful.

runtimeVersion -> (string)

The runtime version of the datalake when the backup was taken.

backupName -> (string)

Name of the backup.

failureReason -> (string)

Reason for the failure.

Form Factors

public