EM 13c: Enterprise Manager 13c Cloud Control EMCLI Error: The Command Name "backup_database -customBackup" Is Not A Recognized Command
(Doc ID 2757302.1)
Last updated on DECEMBER 04, 2023
Applies to:
Enterprise Manager for Oracle Database - Version 13.4.0.0.0 and laterInformation in this document applies to any platform.
Symptoms
Enterprise Manager (EM) 13.4 Cloud Control
EMCLI version: Oracle Enterprise Manager 13c EM CLI Version 13.4.0.0.0
Execute a backup command with emcli using this command:
emcli backup_database -customBackup -target_name="target" -target_type="rac_database" -db_cred="<value>" -db_host_cred="<value>" -scope="wholeDB" -backup_type="full"-destination_media="tape" -delete_archived_logs_after_backup -delete_obsolete -procedure_name="BACKUP_NAME" -schedule="start_time:2021/02/21 15:00;tz:PST;frequency:weekly;repeat:1w;"
Getting error:
EMCLI: Error: The command name "backup_database -customBackup" is not a recognized command.
emcli status shows Status = Configured
From <EM_BASE>/gc_inst/em/EMGC_OMS1/sysman/emcli/setup/.emcli/.emcli.log
SEVERE:
javax.security.auth.login.FailedLoginException
at oracle.sysman.emCLI.omsbrowser.LoginSystem.doEMLogin(LoginSystem.java:681)
at oracle.sysman.emCLI.omsbrowser.LoginSystem.establishSession(LoginSystem.java:249)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageInternal(OMSBrowser.java:932)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPageCommon(OMSBrowser.java:856)
at oracle.sysman.emCLI.omsbrowser.OMSBrowser.getPage(OMSBrowser.java:801)
at oracle.sysman.emCLI.verb.LoginVerb.doLogin(LoginVerb.java:598)
at oracle.sysman.emCLI.verb.LoginVerb.execute(LoginVerb.java:350)
at oracle.sysman.emSDK.emCLI.CLIController.execute(CLIController.java:367)
Changes
The EMCLI login has timed out.
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! |
In this Document
Symptoms |
Changes |
Cause |
Solution |