Restore deleted forum contentUse the ForumsTrashService commands to restore deleted forum content from the trash with immediate effect. You do not need to check the Forums configuration file out or restart the server when using these commands.
Before you beginTo use administrative commands, use the wsadmin client. See Starting the wsadmin client for details.
About this taskIf you change your mind about deleting content from the Forums application, you can restore forum content from the trash. After a forum or forum topic is deleted, the deleted content can be preserved if it is restored.
ProcedureTo restore forum content that has been deleted...
- From the dmgr host:
If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, pick the node where the file is stored.
- Do one of the following.
- To get a list of the deleted forums currently in the trash, enter the following command:ForumsTrashService.fetchForumsTrash()
- To get a list of the deleted forum topics currently in the trash, enter the following command:ForumsTrashService.fetchTopicsTrash()
- Identify the forums or forum topics that you want to restore from the returned list.
- To restore deleted content, use the following commands.
Restores a deleted forum or forums, where you specify the forum or forums that you want to restore using the <hashtable> parameter.
Restores a deleted forum topic or topics, where you specify the topic or topics that you want to restore using the <hashtable> parameter.
Parent topicManage forum trash
Moving forums to the trash
Delete topics from forums