Steps to recover deleted content from Docbase - useful

18 views
Skip to first unread message

sudhakar....@accenture.com

unread,
Aug 9, 2007, 5:58:53 AM8/9/07
to rajeshs...@gmail.com, Rajesh....@cognizant.com, dm_gdm_mu...@googlegroups.com

if you have not run the dm_DmClean job ,then yes you will be able to just recover the content not the attributes.

nothing to do with dmcl cache for recovery

check this support note
http://support.documentum.com/support/resolutions/dmfrmresolutionview.asp?id=310

Subject: How to Potentially Recover a Deleted Object's Content File

Note: Whenever a document is deleted, only the document's metadata is deleted. The content itself (i.e. the object pointed to by the dmr_content object) remains in the content storage area until the IAPI script generated by the dmclean utility is run (see the System Administrator's Guide for more information on the dmclean utility). Assuming that the dmclean utility has not been run, it is still possible to recover the object's content file.

Note: The document's attributes cannot be recovered without going back to a database backup. Below is an outline of a strategy which can be used to do this recovery.

Initially, you need to gather some data on the document that you want to recover such as:

a) What was the name of the client machine where the file was last checked in? This is the set_client attribute.

b) What was the date/time of the last checkin? This is the set_time attribute.

c) What format was the document? This is the full_format attribute.

d) What was the name of the object? This is the object_name attribute.

With this information, the following query can be issued from IDQL:

select r_object_id from dmr_content where any parent_id is null and set_client = <set_client attribute> and full_format = <full_format attribute> and set_time > DATE('<date>')

This will retrieve a set of r_object_id's that correspond to content objects that have been deleted and meet your criteria. Once you have found the appropriate r_object_id of the deleted document, you are ready to find the file. Using IAPI, execute the following commands:

API> apply,c,<r_object_id of deleted dmr_content object>,GET_PATH
API> next,c,q0
API> get,c,q0,result

This returns the file system path to the object. For example:

/disk2/dm20/data/solar20o/content_storage_01/00000065/80/00/14/07

Now that you have the path of the content file, you can create a new object with this content by doing the following:

API> create,c,dm_document
0900006580005a65.
API> set,c,<object_id>,object_name
SET> Restored Document
OK
API> setfile,c,<object_id>,/disk2/dm20/data/solar20o/content_storage_01/000000
65/80/00/14/07,<full_format attribute>
OK
API> link,c,<object_id>,/Temp
OK
API> save,c,<object_id>

Now look for a document named "Restored Document" in the /Temp cabinet. If it is there, then you have successfully recovered the deleted document!

 

 


From: rajesh shivekar [mailto:rajeshs...@gmail.com]
Sent: Thursday, August 09, 2007 3:15 PM
To: Kanakaraj, Sudhakar; Rajesh....@cognizant.com
Subject: Re: [DM.GDM.MUNNAR] FW: Alias set in Session Scope

 

Sudhakar,

 

One help.

How will we recover the document which we deleted from docbase.

Only one version was present.

 

-Rajesh

 

 

This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited.

PRABU Kalyan

unread,
Aug 9, 2007, 6:02:15 AM8/9/07
to dm_gdm_mu...@googlegroups.com
Hi All,
 
Any idea how to recover a deleted object ????
 
- Kalyan

 

sudhakar....@accenture.com

unread,
Aug 9, 2007, 6:53:42 AM8/9/07
to dm_gdm_mu...@googlegroups.com

Kalyan,

 

There is no such feature available in Documentum to recover your objects however content/file recovery can be possible thru the steps mentioned in the mail below. But there are third party tools are available in the market. There is a famous tool called CYA (Cover Your Assets), which will take the backup (both hard backup and cold backup) of the content server and will provide the feature to recover the deleted objects from backups.

 

Hope this helps you.

 

J Sudhakar Kanakaraj.

 


<br

Reply all
Reply to author
Forward
0 new messages