Registered member login:
Register Now
Altirigos » Notification Server and Solutions » Help Desk » Help - Undo Deleted Multiple Incidents

» Current Poll
Vista?
Staying on XP until Windows 7 - 72.14%
101 Votes
Already on Vista - 10.71%
15 Votes
Planning an upgrade to Vista soon - 10.00%
14 Votes
Other (please explain) - 7.14%
10 Votes
Total Votes: 140
You may not vote on this poll.
» Stats
Members: 6,831
Threads: 9,765
Posts: 47,791
Top Poster: Nick (4,800)
Welcome our newest member, jdh2000
» Online Users: 61
5 members and 56 guests
bretthexum, jdh2000, katydid, k_roxy500, skakid
Most users online at once 294, 06-30-2007 at 01:24 PM.
» January 2009
S M T W T F S
28293031 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Reply
Old 11-10-2005, 02:24 AM   #1 (permalink)
 
Status: Junior Altiris Admin
Join Date: 07-21-2005
Location: Western Austraila
Age: 38
Posts: 7


Help - Undo Deleted Multiple Incidents

Urgent help needed

I have accidentillay deleted multiple incidents, is there any way to recover these lost incidents?

Thanks
darrendj is offline   Reply With Quote
Old 11-10-2005, 02:33 AM   #2 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,195


Do you have a DB Backup? Once they are gone; there's no archive table, they are just gone.
The method for selecting multiple incidents should be improved in Sp3. As you discovered all those that are found in the search string are deleted.

Sorry

-m-

Last edited by Mike; 11-10-2005 at 02:34 AM.. Reason: spelling error
Mike is offline   Reply With Quote
Old 11-10-2005, 02:36 AM   #3 (permalink)
 
Status: Junior Altiris Admin
Join Date: 07-21-2005
Location: Western Austraila
Age: 38
Posts: 7


Thanks for the quick reply

I can go to last nights back up tapes. Is it possible just to recover the specific deleted incidents? So I don't lose todays jobs?
darrendj is offline   Reply With Quote
Old 11-10-2005, 10:30 AM   #4 (permalink)
 
Mike's Avatar
 
Status: Altiris Engineer (Super Mod)
Join Date: 02-22-2005
Location: South Jordan, Utah, USA
Posts: 1,195


There must be a way to do it, though I'm not experienced in this myself.

Hey all, any SQL Server Admins know how to restore a few rows to a table? Jim prolly knows

If you can find just those deleted entries from the "workitem" table, that's all you'll need to restore. All views should be updated.
__________________
______________________
Mike Ainsworth

Mike is offline   Reply With Quote
Old 11-10-2005, 11:20 PM   #5 (permalink)
 
Status: Junior Altiris Admin
Join Date: 07-21-2005
Location: Western Austraila
Age: 38
Posts: 7


Good news :-)
We were able to successfully import all of the users old data, took at bit of mucking around, but we finally got there. (luckiliy one of our staff is good with sql)

Thanks for your help Mike
darrendj is offline   Reply With Quote
Old 11-11-2005, 12:13 AM   #6 (permalink)
 
Nick's Avatar
 
Status: Altiris Architect (Site Founder)
Join Date: 01-01-2005
Location: RDU, North Carolina, USA
Posts: 4,800


If you could share the process on how you recovered I'm sure that there would be someone that would find it useful.

Glad to hear you were able to get it back.
__________________
Scire potentia est (knowledge is power)
Nick is offline   Reply With Quote
Old 11-11-2005, 02:06 AM   #7 (permalink)
 
Status: Junior Altiris Admin
Join Date: 07-21-2005
Location: Western Austraila
Age: 38
Posts: 7


Ok, I'm not an expert in SQL but here’s the basics:

There are two options to bring the back up database back onto SQL server :

Recover the entire database and rename it. (Jump to step 5)

or

Recover the backup from the tape and saved the .log and.mdf files (ours where name Altiris_Incidents ).


  • Create a new DB in SQL with fresh (new) logs and mdf.

  • Detach the new DB

  • Replace the .log and .mdf with the backup logs and mdf that you recovered.

  • Attach the database back.

  • Import the recovered db table workitem into the altiris _incident DB and rename it when importing Ã* workitem2.

  • Turn index off on the table workitem

  • Insert the rows for the lost jobs. (we did ours via workitem user ID, as we lost all of a workers jobs) and insert the rows.

  • Turn index on.
Hope this helps.
darrendj is offline   Reply With Quote
Old 11-11-2005, 08:29 AM   #8 (permalink)
 
Nick's Avatar
 
Status: Altiris Architect (Site Founder)
Join Date: 01-01-2005
Location: RDU, North Carolina, USA
Posts: 4,800


Outstanding! I'm sure that this will prove helpful for someone down the road.

Thanks for sharing the info!
__________________
Scire potentia est (knowledge is power)
Nick is offline   Reply With Quote
Old 12-23-2005, 01:19 PM   #9 (permalink)
 
dominique's Avatar
 
Status: Sticky...
Join Date: 03-04-2005
Location: Culver City, CA
Age: 52
Posts: 3,342


Was it a gift fro Chritsmas it is OUTSTANDING!!!!


Dom
dominique is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 01:01 PM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos