My Oracle Support Banner

EM 13c: Enterprise Manager 13c Cloud Control emcli export_jobs and emcli import_jobs Sequence does not Retain Targets from the Export Source (Doc ID 2363450.1)

Last updated on SEPTEMBER 28, 2018

Applies to:

Enterprise Manager Base Platform - Version 13.2.0.0.0 and later
Information in this document applies to any platform.

Symptoms

As part of a disaster recovery scheme, emcli export_jobs and emcli import_jobs are considered for re-establishing a job schedule in Enterprise Manager (EM) 13.2 Cloud Control..

However, the export of jobs (emcli export_jobs) and import of jobs (emcli import_jobs) does not transfer or retain the target information.

An export job with USER1 using the following command generates output file jobsdata.zip:
./emcli export_jobs -owner=USER1 -file=jobsdata.zip -libraryjobs

An import job as another user, USER2, uses following command with the jobsdata.zip file:
./emcli import_jobs -file=jobsdata.zip

After import, the targets attached to the jobs in the job library are not transferred.
USER2 cannot see the targets, although USER2 can see the jobs.


Example:
Signed in as the user = USER1
Job library form shows:
Job Name = RMAN_LEVEL_0_EX1_ALL
Job Type = RMAN Script
Owner = USER1
Targets = EX1_CLUSTER_DATABASES

EXPORT then IMPORT as USER2

Can see the job but NO target:
Job library form shows:
Job Name = RMAN_LEVEL_0_EX1_ALL
Job Type = RMAN Script
Owner = USER2
Targets = NULL VALUE <==== does not retain the targets.

 

 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.