Any suggested method to backup WID?
WID as such will have to be backed up using tools like Norton Ghost, which allows you to create full system backups and to restore from system failures. But there may be cases where your WID test environment profiles can get corrupted. The practical suggestion to back WID profiles would be to use the manageprofiles utility. The
manageprofiles
command-line tool allows you to not only create a new profile, but also to back up and restore profiles. A profile backup does a file system backup of the entire profile directory (not just the XML configuration) and the profile metadata from the profile registry file. To back up a profile, stop the server to be backed up and issue the following command (by switching to the <WID_HOME>\runtimes\ bi_v7_stub\bin
folder or <WPS_HOME>/bin
)
manageprofiles(.bat)(.sh) -backupProfile -profileName profile_name -backupFile backupFile_name -username user_name -password password
The following message is displayed:
INSTCONFSUCCESS: Success: The profile backup operation was successful.
Please note that, you must first stop the server and the running processes for the profile that you want to back up. For more information on manageprofiles
, refer to:
Restoring a profile from a backup
Backed up profiles can be restored using the –restoreProfile
option. To restore a profile from a backup, perform the following steps:
Make sure the server is stopped.
Manually delete the directory for the profile from the filesystem.
Run the -
validateAndUpdateRegistry
option of themanageprofiles
command.
Restore the profile by using the -restoreProfile
option of the manageprofiles
command (by switching to the <WID_HOME>\runtimes\ bi_v7_stub\bin
folder or <WPS_HOME>/bin
).
manageprofiles(.bat)(.sh) -restoreProfile profile_name -backupFile backupFile_name