An Oracle blog about PeopleSoft Technology

Cloud Manager Helps You Backup and Restore Your Older Version Easily

Rajesh Muthukrishnan
Product Manager

The new PeopleSoft Cloud Manager Image 11 is a feature-packed version that was made generally available a few weeks back. It delivers better user experience, enhanced control, deeper automation, and reduce the overall operational cost of your PeopleSoft Environments in the Oracle Cloud Infrastructure (OCI).

Cloud Manager Has You Covered – Backup and Restore

For users who often perform self-updates to keep Cloud Manager current, it is essential to take a backup of the environment in its current state so you can restore it, in case something unfortunate happens. For those who are still using Cloud Manager 10, the good news is, you can upgrade your Cloud Manager using the self-upgrade feature. Sometimes we hear questions from users like “What if the upgrade fails?” “Can I get back to my old Cloud Manager?” “I’ve never tried it before, not sure what will happen”. We have you covered. Cloud Manager provides an automated way to safely back up and restore the backed up block and boot volumes if required.

How is it Done?

This graphic illustrates the Backup and Restore process:

Step 1: Backup

Run the shell script, cm_backup_restore.sh -o backup, to back up your Cloud Manager. You will have to create a configuration file before this if you are running backup for the first time. (Include the path of the shell script and which user has the privilege to run the shell.)

If you want to try it, just copy-paste the below command.

  • Log into Cloud Manager instance using SSH as opc user
  • MKDIR or CD to /home/opc/bootstrap/cm_backup_and_restore.
  • Copy 2 files (cm_backup_restore.py and cm_backup_restore.sh) from /opt/oracle/psft/pt/ps_app_home/cloud/psc_cloud/psc_utils/ to /home/opc/bootstrap/cm_backup_and_restore

sh cm_backup_restore.sh -o backup

The script will do the following:

  • Shutdown the database and the domains
  • Backup files on boot volume and save them on data volume as /opt/oracle/psft/dpks/cm_boot_vol_fliles.tar.gz. Files include
    • All files under PS_CFG_HOME
    • /home/psadm1/.bashrc
    • /home/psadm2/.bashrc
    • /home/psadm3/.bashrc
    • /home/oracle2/.bashrc
    • /home/esadm1/.bashrc
    • /etc/profile
    • /etc/bashrc
    • /usr/lib/systemd/system/psft-appserver-<APP_DOMAIN_NAME>.service
    • /usr/lib/systemd/system/psft-db-<DB_NAME>.service
    • /usr/lib/systemd/system/psft-pia-peoplesoft.service
    • /usr/lib/systemd/system/psft-prcs-<PROCESS_SCHD_NAME>.service
  • Create backup of data volume
  • Restart all the services and domains


Step 2: Restore

Both data volume and a set of files on boot volume must be replaced from a backup to restore the Cloud Manager instance to a certain backup point.

The first step is to restore the data volume. To restore a block (data) volume backup, the user must provide a backup name. Users can list the existing backups and then select the backup to restore.

Note: Before restoring the data volume, generate the list of IP addresses of all managed instances provisioned by the Cloud Manager. This is required later in the restore process to synchronize the ‘/cm_psft_dpks/cloud’ directory to all managed nodes in case the files are not up-to-date. This step is required whenever restoring from the latest Cloud Manager version to an older version. 

As an example, restoring back from Cloud Manager Image 11 to Cloud Manager Image 10 would include the following steps.

  • SSH to Cloud Manager
  • Switch user to psadm2
  • Change directory to PS_APP_HOME/cloud
  • Generate the list of IP addresses into file /home/psadm2/managedenvironments.txt
  • Take a backup of /home/psadm2/managedenvironments.txt
  • Run the script under the directory /home/opc/bootstrap/cm_backup_and_restore
sh cm_backup_restore.sh -o restore -n <backup_name>
  • Users will be prompted to enter a passphrase for the private API signing key. Enter the passphrase if it exists or press enter.
  • The script finally reboots the domains and database

For detailed steps to execute the back and restore please refer to the product documentation.


To know more about the Cloud Manager 11, refer the link below


Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.