copyToObjectStorage2
Copies a file or backup snapshot as a single non-segmented file from the current environment to an Oracle Object Storage bucket. This command uses API signing authentication to digitally sign the request to ensure security.
Applies to
Planning, Planning Modules, FreeForm, Financial Consolidation and Close, Tax Reporting, Account Reconciliation, Profitability and Cost Management, Enterprise Profitability and Cost Management, Oracle Fusion Cloud Enterprise Data Management, Narrative Reporting, Strategic Workforce Planning, and Sales Planning.
Required Roles
Service Administrator
Usage
epmautomate copyToObjectStorage2 sourceFile tenancyOCID userOCID
fingerprint keyFile URL, where:
sourceFileis a unique name of the file in the current environment that you want to copy to the Object Storage. For snapshots, do not include the .ZIP extension.tenancyOCIDis the OCID of the tenancy to which you want to copy the file. This ID is available on the Tenancy details page of the Oracle Cloud Identity Console.userOCIDis the Oracle Cloud Identity of the user authorized to write to the Cloud Object Storage. This ID is available on the User details page of the Oracle Cloud Identity Console.fingerprintis the fingerprint (hash) of the RSA public API key. You can retrieve the RSA asymmetric cryptography algorithm fingerprint by running the OpenSSL commandopenssl rsa -pubout -outform DER -in ~/.oci/oci_api_key.pem | openssl md5 -cskeyFileis the name, including the path, of the private key file stored on your computer.URLis the Cloud Object Storage URL, including the name of the bucket to which you want to copy the Oracle Fusion Cloud Enterprise Performance Management file. This value can include an object name.- URL format without the object name:
https://objectstorage.region_identifier.oraclecloud.com/n/namespace/b/bucket_name - URL format with object name:
https://objectstorage.region_identifier.oraclecloud.com/n/namespace/b/bucket_name/o/
- URL format without the object name:
Example
epmautomate copyToObjectStorage2 "Artifact Snapshot" "ocid1.tenancy.oc1..ccca?" "ocid1.user.oc1..aaad?" "5b:51:4b:12:6d:7c:?:a0:11:b7:11:0b:1f" "~/.oci/oci_api_key.pem" "https://objectstorage.region_identifier.oraclecloud.com/n/namespace/b/bucket_name"