Backing up and restoring CDE jobsPDF version

Restoring Cloudera Data Engineering jobs from backup

You can restore Cloudera Data Engineering (CDE) jobs and associated resources from a backup ZIP file.

Before you begin

Steps

  1. Run the cde backup restore command to restore a backup file to the virtual cluster your CDE CLI is configured to interact with. Use the --duplicate-handling flag to select the policy for handling duplicate jobs. The possible values are as follows:
    error
    Return an error if there are duplicate job names, and abort the restore operation. This is the default behavior.
    rename
    If a job name in the backup conflicts with an existing job, keep the existing job and rename the restored job by appending a numerical identifier to the job name.
    keep-original
    If a job name in the backup conflicts with an existing job, keep the existing job and do not restore the backed up job.

    For example:

    cde backup restore --local-path archive-2021-11-10T01:24:06.zip --duplicate-handling rename

Result

Validate that the jobs and resources were restored by running cde job list and cde resource list.