Restoring the backed up data
Once you have registered the required external database system, and assigned tenants, you can now restore the backed up data.
1. Log on to API Portal as an Administrator.
2. Click in the right top corner of the API Portal window to display the menu options. 3. Click Administration > Manage data.
4. Select Restore.
5. Click Upload and select the relevant backup file to be uploaded.
6. Select the relevant options and click Restore.
A success message appears when the restore process is completed.
If you want to create a new tenant you can do the following:
Run the following commands:
Switch to the machine where Oracle server is running. Open sqlplus cmd and execute the following command,
cip_create_schema_for_tenant.bat CIP_TENANTNAME
Switch to the machine where API Portal is installed and run the following command in ACC console, assign tenant default to service db0000000000
assign tenant TENANTNAME to service db0000000000
com.aris.cip.db.schema=CIP_TENANTNAME
After running the above command, start all runnables.
Run the following commands in ACC console to create a new tenant:
ACC + localhost> create tenant tenant_name
master.tenant.user.name=system master.tenant.user.pwd=manager
ACC + localhost> invoke enhancement_importLicense on apiportalbundle_s
tenant.name=tenant_name local file enhancement.path="Install_dir/API_Portal/license.xml"
tenant.user.name=system tenant.user.pwd=manager
ACC + localhost> invoke prepareTenant on apiportalbundle_s
tenant.name=tenant_name isDemo=false