Upload large Application Snapshot files to PBCS using EPM Automate


As I recently discovered when trying to upload an Application Snapshot from my client's Production environment to my client's Test environment, once an Application Snapshot gets too large you will receive the below error when attempting to upload the snapshot through your browser:


The file I was attempting to upload was around 4GB but I am unsure of the official size limit for uploading files through your browser. However, as your application is used over time it will continue to grow and, before you know it, your snapshot size will have reached this limit (whatever it may be!)

To get around this issue, we can use the EPM Automate command UploadFile.

The UploadFile command is used to upload a file from your local computer to the PBCS server. The file being uploaded could contain data, metadata, other application artefacts or be an entire Application Snapshot backup.

The syntax for using the UploadFile command in a batch file is as follows:

Call epmautomate login USERNAME PASSWORD URL IDENTITYDOMAIN
Call epmautomate uploadfile "FILENAME"
Call epmautomate logout

Where the parameters in the above script are as follows: 
  • USERNAME - the user name of the service administrator 
  • PASSWORD - the password of the service administrator
  • URL – the URL of the PBCS service instance that you wish to connect to
  • IDENTITYDOMAIN – the identity domain of the PBCS service instance
  • "FILENAME" – the full name and path of the file (from your local computer) that you wish to upload to your PBCS service
The above syntax will upload the file to the default location. For Application Snapshots, this will be the Migration section of PBCS. The Snapshot will then be available to import to your PBCS environment using the normal Import functionality within the migration area of PBCS.
 

Comments

  1. Hi. Great post on uploading snapshots! I have a question for you. Our snapshots are too large so we have to use the epmautomate uploadfile command. I used the steps outlined above. The file is uploaded but does not show up under the Migration Snapshot area in PBCS but rather in the inbox/outbox explorer. How do I get the snapshot to upload to the correct place?

    ReplyDelete
    Replies
    1. Hi, the above syntax ("Call epmautomate uploadfile", followed by the file name only)should upload the Snapshot into the migration area in PBCS as this is the default area for Snapshot zip folders. Hope that helps!

      Delete

Post a Comment

Popular posts from this blog

Executing Smart View Retrievals using VBA

Loading Actuals from Fusion ERP Cloud to PBCS

Loading multi-period row data files using Data Management