Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

In starteam, how can I find out when a file was deleted, and by whom?

Tags:

starteam

We have a small team running StarTeam. A constant source of frustration and problems is the handling of deleted files in StarTeam. It is obvious that Starteam keeps track of deleted files internally, but it does not seem to be possible to get any information about a file deletion.

So far, my only solution to find the timing of a delete is to perform a manual binary search using the 'compare' views. Is there any better way (the query for 'delete time' never seems to pick up any files).

like image 935
Peter Hart Avatar asked Jun 15 '09 14:06

Peter Hart


People also ask

How do you check who deleted the files?

Open the Event Viewer and search the security log for event ID 4656 with a task category of "File System" or "Removable Storage" and the string "Accesses: DELETE". Review the report. The "Subject: Security ID" field will show who deleted each file.

Where are recently deleted files stored?

When you delete a file or folder, it goes into the Recycle bin, where you have a chance to restore it.

Who stores the deleted files and folders?

Recycle bin is a waste-basket icon on desktop that works as a location or directory for deleted files or folders. All the files, folders, programs that are discarded get stored in it by default. Q. When a user delete a file, empties the recycle bin, what happens to the file?

Where are all deleted files sorted?

For example, files deleted from your own computer usually end up in an operating system folder called the recycle bin from where they can be restored to their original location.


2 Answers

The Audit tab (just to the right of File, ChangeRequest, etc.) is probably your best bet if you're just looking for who deleted what and when. The Audit tab also provides information about when items and folders were created, shared, or moved, as well as when View labels are attached/detached. Whenever someone has files unexpectedly appear or disappear, I direct them to the Audit tab first.

There is a server-side configuration setting for the length of time the audit data is retained (30 days by default, I believe). Since it is not retained forever, it isn't a good option for historical data. The number of audits can be quite large in active views.

If you're looking for something more than that or older than your audit retention time, go with Bubbafat's suggestion of the SDK and getDeletedTime/getDeletedUserID.

like image 97
Jeremy Murray Avatar answered Nov 06 '22 16:11

Jeremy Murray


Comparing views (or rolling back a view to see the item again) is the only way I know how to do this in StarTeam without writing code.

If you are willing to write a little code the StarTeam API provides the Item.getDeletedTime and Item.getDeletedUserId methods (I believe these showed up in 2006).

like image 44
Robert Horvick Avatar answered Nov 06 '22 16:11

Robert Horvick