In this article, we will be seeing how to take a complete backup of IBM PAW and, also how to restore/revert the complete PAW Application using a backup.
Environment: Windows Server 2012 R2
IBM PAW Version: 2.0.37
VMware: Oracle VMware
- Virtual machine for PAW should be up and running.
- Make sure to use the Root User ID for below steps.
(What is Root User ID? Well, the user ID used for installing IBM PAW in that System and that user ID we are referring it has Root User ID here. In Case, if you are not sure which is root User ID then find which User folder the PAW VM is placed)
Now, go to the <Installation> path of IBM PAW and execute Start.bat file. Enter ‘n’ for Install/Updated and ‘n’ for opening the Administration tool. This will open the Docker Terminal which enables the scripts that we run to access the docker container in PAW VM.
PAW Backup Steps:
From IBM PAW Docker terminal, Open Command prompt (well you can carry out this in shell commands, but I prefer CMD 😊) and execute backup.sh file in Scripts folder in the <installation Path> of PAW.
You will see and pop windows, indicating that services are stopped and once the backup is done these services will be started again. During this process, we will not be able to access the PAW through the URL. The backup can be found in Backup Folder in <installation Path> of PAW.
PAW Restore steps:
Similarly, to restore IBM PAW from a backup just execute the Restore.sh in Scripts folder which can found in <installation Path> of PAW. While executing make sure to enter the <path> of backup folder that we are trying to restore as shown below.
You will see and pop windows, indicating that services are stopped and once the backup is done these services will be started again. During this process, we will not be able to access the PAW through the URL.
Please note, when you restore all the existing data in the current PAW Application will be Reset and the complete PAW Application will be reverted to how it was when that backup was taken. Well, you can also use Restore Steps to replicate one PAW environment in another PAW environment.