Recovering lost data from a table
Hi experts,
We have lost some information from EQUI table because of a programming error of a developer, when deleting by mistake some registers with the work area. Is there any way to recover this information without recovering the last security copy??
Maybe from some modification log or something. "log data changes" checkbox is not checked on se11 technical options.
Thank you very much!
Artur
Hi,
reviewers pointed alread to a db backup and restore of the table in question.
Depends much on what DB vendor and version you have.
if you running on Oracle it maybe possible to SELECT on the table with the TIMESTAMP option.
i.e. you want to have the values 5 minutes ago before someone changed and commited
the change:
select * yourtable as of timestamp sysdate - 5/24/60
where .... " you may have some criteria to filter on the rows in question
But if your data is already out of the UNDO retention time you have to choose the hrad way
of physical restore of the table .
bye
yk
Similar Messages
-
Recovering lost data from a very old backup (disaster recovery)
Hi all,
I am trying to restore and recover data from an old DAT-72 cassette. All I know is the date when the backup was taken, that is back in November 2006. I do not know the DBID or anything else except for the date.
To recover this, I bought an internal SCSI HP c7438a DAT-72 tape drive on eBay and installed it on a machine running Windows 2003 Server SP2. I made a fresh Oracle 11g Enterprise Edition installation. HP tape drivers have been installed and Windows sees the tape drive without problem. To act as a Media Manager, I have installed Oracle Secure Backup. Oracle Secure Backup sees the HP tape drive without problems as well.
I have to admit my information about Oracle is not very in-depth. I read quite a lot of documents, but the more I read the more confused I become. The closest thing I can find to my situation is the following guide about disaster recovery:
http://download.oracle.com/docs/cd/B10500_01/server.920/a96566/rcmrecov.htm#1007948
I tried the suggestions in this document without success (details below).
My questions are:
1. Is it possible to retrieve data without knowing the DBID?
2. If not, is it possible to figure out the DBID from the tape? I tried to use dd in cygwin, also booted with Knoppix/Debian and Ubuntu CDs to dump the contents of the tape with dd but all of them failed to see the tape device. If there is any way to dump the raw contents of the tape on Windows, I would also welcome input.
3. Is there any way at all to recover this data from the tape given all the unknowns?
Thanks very much in advance,
C:\Program Files>rman target orcl
Recovery Manager: Release 11.2.0.1.0 - Production on Sat Mar 19 15:01:28 2011
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
target database Password:
connected to target database: ORCL (not mounted)
RMAN> SET DBID 676549873;
executing command: SET DBID
RMAN> STARTUP FORCE NOMOUNT; # rman starts instance with dummy parameter file
Oracle instance started
Total System Global Area 778387456 bytes
Fixed Size 1374808 bytes
Variable Size 268436904 bytes
Database Buffers 503316480 bytes
Redo Buffers 5259264 bytes
RMAN> RUN
2> {
3> ALLOCATE CHANNEL t1 DEVICE TYPE sbt;
4> RESTORE SPFILE TO 'C:\SPFILE.TMP' FROM AUTOBACKUP MAXDAYS 7 UNTIL TIME 'SYS
DATE-1575';
5> }
using target database control file instead of recovery catalog
allocated channel: t1
channel t1: SID=63 device type=SBT_TAPE
channel t1: Oracle Secure Backup
Starting restore at 19-MAR-11
channel t1: looking for AUTOBACKUP on day: 20061125
channel t1: looking for AUTOBACKUP on day: 20061124
channel t1: looking for AUTOBACKUP on day: 20061123
channel t1: looking for AUTOBACKUP on day: 20061122
channel t1: looking for AUTOBACKUP on day: 20061121
channel t1: looking for AUTOBACKUP on day: 20061120
channel t1: looking for AUTOBACKUP on day: 20061119
channel t1: no AUTOBACKUP in 7 days found
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/19/2011 15:03:26
RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece
RMAN>
RMAN> RUN
2> {
3> ALLOCATE CHANNEL t1 DEVICE TYPE sbt
4> PARMS 'SBT_LIBRARY=C:\WINDOWS\SYSTEM32\ORASBT.DLL';
5> RESTORE SPFILE TO 'C:\SPFILE.TMP' FROM AUTOBACKUP MAXDAYS 7 UNTIL TIME 'SYS
DATE-1575';
6> }
allocated channel: t1
channel t1: SID=63 device type=SBT_TAPE
channel t1: Oracle Secure Backup
Starting restore at 19-MAR-11
channel t1: looking for AUTOBACKUP on day: 20061125
channel t1: looking for AUTOBACKUP on day: 20061124
channel t1: looking for AUTOBACKUP on day: 20061123
channel t1: looking for AUTOBACKUP on day: 20061122
channel t1: looking for AUTOBACKUP on day: 20061121
channel t1: looking for AUTOBACKUP on day: 20061120
channel t1: looking for AUTOBACKUP on day: 20061119
channel t1: no AUTOBACKUP in 7 days found
released channel: t1
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of restore command at 03/19/2011 15:04:56
RMAN-06172: no AUTOBACKUP found or specified handle is not a valid copy or piece
RMAN>
-----------------------------------Hi 845725,
If the backups were created with OSB might be you can query the tape with obtool.
http://www.stanford.edu/dept/itss/docs/oracle/10gR2/backup.102/b14236/obref_oba.htmTo list pieces you could use <lspiece> within obtool.
http://www.stanford.edu/dept/itss/docs/oracle/10gR2/backup.102/b14236/obref_oba.htm#BHBBIFFEIf this works you should be able to identify the controlfile autobackup if it has the standard naming < c-dbid-date-xx > and you than know the DBID or you are able to restore a controlfile from a backup piece in the output list.
Might be you have to install 9i or 10g rdbms software as 11g was released a year later in 2007.
Anyway goodluck.
Regards,
Tycho -
Can I recover lost data from my calendar?
I have an iPhone 4S and had been using the calendar. When I recently purchased an iPad2 Wi-Fi, i lost years worth of data from my calendar when I attempted to sync the two using iCloud. The data is not on either the iPhone or iPad and I'm wondering if there is any way I can recover this?
Check iTunes via sync to see if you have a previous backup of your iPhone that you know contained the calendar data. You can restore your iPad from an iPhone backup. Just do it in iTunes on your computer.
-
How to Recover Lost Date from Nokia 2690
Friends i have lost some usefull data from Nokia 2690 because software is damaged, the data i have lost is worth more than my life, so since past months i have been worried and suffering form deppression.
My request to all of you is that suggest me is there any way of recovering that data at any cost
Waiting for resopnse
Thanks
Taauf Alihttps://discussions.apple.com/docs/DOC-1689
-
Can i recover lost data from encrypted drive by Bitlocker
Hello Dears. I had encrypted my drive by Bitlocker in windows 7.
few days after my friend did quick format in my encrypted drive.
my 300 gb of data lost. and nothing saved
i remember unlock password.
how can i recover my data ??? i need my data
i tried drive recovering tools (advanced EFS data recovery, easeus . . ,) . but . . . it's encrypted and formatted drive.
can i undo quick format and decrypt ???
sorry my english is not good.
someone help me please.BitLocker is not the cause of failed to recover files.
Format a drive will clear all data saved on the hard disk. Thus recovery formatted data will be a hard disk based technology but not related to operation system. There is no build-in data recovery feature in Windows operations. So we will needto use third party recovery tool or contact third party data recovery company for current issue.
As recovery missing data service will be expensive, we can also check emails and contact friends to see if that can help get a part of files back especially for photos, documents etc. -
How to recover lost data from a mac that was erased and locked using findmyiphone app
Hi,
My macbook pro was locked and erased using find my iphone app then it was recovered. I entered my pin and unlocked it. I then have the option to reinstall the OS on a new hard drive or my old one (which is blocked).
What do I do if i want to recover all of my old data?Alas the answer is : NO
If you have an external HD, you may try tun run a recovery tool instlled on this external device searching for keystring "index.xml"
With a bit of luck, it will retrieve an old copy of your document.
I hope that this time you will understand that working the way you did is playing with matches.
Whe you work on a document already saved once, duplicate the document before opening it and check that both copies are OK.
This way you will have at least a copy containg the datas from the 25 first day.
During the working session, don't save with the name of the opened doc, save vert ten minutes with different names.
Doing that you will recover at least the copy which you opened.
Yvan KOENIG (VALLAURIS, France) jeudi 10 janvier 2011 21:27:19
iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
My iDisk is : <http://public.me.com/koenigyvan>
Please : Search for questions similar to your own before submitting them to the community -
Is it possible to recover lost data from an iPhone 4 iOS 5
Hello, I recently upgraded my iphone from iOS 4.2 to 5.0, and in the process of restoring my iphone, my photos and some other settings (some email accounts and phone number "favorites") were not restored. I'm very upset about the pictures....I've lost about 7 months worth.
Before I performed the upgrade, I backed up my iphone, however it appears that the backup did not backup my pictures, as I used some third party software to see if there were pics in the back-up which there was not.
I don't sync my pics with iphoto, because I have previously restored my camera roll from a backup several times in the past, with no issues. What are my options to find all these lost pics?
PS - I use a Mac to sync (but I also have a PC).
1) Is there a way to go back to older version of my back-up file? Like from a couple days ago? It looks like itunes only stores a couple backup files. Do you think I could find older/deleted/overwritten versions with file recovery software?
2) Is there any file recovery software that can look on the iphone's hard disk for these "deleted" picture files? In the past, I've used file rescue software on an SD card to retrieve deleted pics, and it works flawlessly.
Any help is appreciated!!MCPaulyB,
Have you found a solution to your problem? I, too, lost files during the upgrade to iOS 5.0. My files in Pages, Numbers and Keynote disappeared although the update said they'll be saved in iCloud. They simply vanished after the update. -
Can I recover lost data from my hard disk?
I went to Software Update and downloaded all necessary files. When I finished the message said that it couldn't load the Java update. I restarted the computer, the apple showed in the middle of the screen and then it went to a circle with a bar through it, a bit like a no smoking sign. I restarted again but still nothing. I sent it off to the computer tech and he reloaded the original disks but all my photos and documents are gone. Can something be done to recover the files? Nothing shows up in Finder..
Hi,
*"I sent it off to the computer tech and he reloaded the original disks but all my photos and documents are gone."*
If the tech erased and reinstalled the Mac OS X, then those files are gone. But if an Archive and Install was done, then there should be a "Previous System folder" and your files might be there but no guarantees. *You need to contact the repair tech and find out exactly what was done*.
From now on, back your files up so you can avoid this happening in the future.
How to Backup and Restore Your Files
Carolyn -
Can i recover the data from a broken XD card?
Can i recover the data from a broken XD card? any software Power Data Recovery. but it failed
Accidentally deleted data from XD card, don't panic. I suggest an advance and professional XD card recovery software, you can use third-party software Kernel for Digital Media Recovery Tool. It can quickly restore all lost data from XD card. This software
also supports all kinds of multimedia files such as SD Card (Secure Digital), Multi Media Card (MMC), Compact Flash (CF), XD Card, Micro SD card, , Memory Stick. To more details kindly read this post : http://digitalmediarecovery.blogspot.com/2013/12/retrieve-lost-data-from-memory-card.html -
Can I Recover Overwritten Data from Treo 650?
I synced my TREO 650 to my Macbook. It seems like the macbook overwrote all of the Contacts and Calendar entries on my Treo. In other words, it synced the mac to my treo, instead of the other way around, which is what I need.
Is there anyway to recover the lost data on my Treo?
ThanksAccidentally deleted data from XD card, don't panic. I suggest an advance and professional XD card recovery software, you can use third-party software Kernel for Digital Media Recovery Tool. It can quickly restore all lost data from XD card. This software
also supports all kinds of multimedia files such as SD Card (Secure Digital), Multi Media Card (MMC), Compact Flash (CF), XD Card, Micro SD card, , Memory Stick. To more details kindly read this post : http://digitalmediarecovery.blogspot.com/2013/12/retrieve-lost-data-from-memory-card.html -
I lost all personal data while installing maverick in external drive. How can I recover lost data?
If all your files are missing
You may have logged in as a different user, such as Guest. Open the Users & Groups pane in System Preferences. Your name should be at the top of the user list, under Current User. See also this support article.
If files are missing from one folder
Change the Finder view mode; for example, from icon view to list view, or vice versa. -
How to recover missing data from PCL4 cluster
Hello experts,
Is there any way to recover missing data from PCL4 cluster ?
We recently found that some data related to W2 production run for past years was missing in the PCL4 cluster. Tables T5UXX & T5UXY has entries with the filing dates but certain data is missing in the cluster related to those table entries.
Would there be any specific reason for such a data loss ?
Has anyone come across this issue earlier and found resolution on the same ?
Any feedback is appreciated.
Thanks,
Dipesh.When you delete PCL4 entries for production runs, the corresponding
control information in tables T5UXX and T5UXY also will be deleted. A
control number may be used for more than one Form number (in Tax
Reporter control tables). Therefore, if a control number that is
assigned to the Form number to be deleted was also assigned to other
form numbers, then this control number information from T5UXY will not
be deleted. These details will be displayed in the program results.
However, if all Form numbers that were assigned to this particular
control number were deleted, then the control information in table T5UXY
for the control number will be deleted automatically as the last
dependent Form number is deleted."
Following we have two questions:
o Was PCL4 deleted?
o Did the W2 generate without errors?
Basically if the PCL4 data is corrupted, then we have 2 options to
rebuild the PCL4 Cluster:
1. Delete the existing PCL4 & rerun the production run with the same
As of date.
2. Overwrite the production results without deleting PCL4 data but with
different As of Date.
If the Employee data is not changed after your
actual production run then overwriting the results will not cause any
difference in the PCL4 data.
Secondly, if you dont want PDF spools or magmedia layouts to be
generated during overwriting of production run, then kindly uncheck
the following on the PU19 screen, so that only PCL4 data is rebuild :
1. Uncheck Employee Copy
2. Uncheck Authority Copy
3. Uncheck Magnetic table"
Edited by: Johan Peersman on Mar 25, 2010 4:14 PM
Edited by: Johan Peersman on Mar 25, 2010 4:15 PM -
Adding Data From One Table to Another
Now, this doesn't strike me as a particularly complex problem, but I've either strayed outside the domain of Numbers or I'm just not looking at the problem from the right angle. In any case, I'm sure you guys can offer some insight.
What I'm trying to do is, essentially, move data from one table to another. One table is a calendar, a simple two column 'date/task to be completed' affair, the other is a schedule of jogging workouts, i.e, times, distances. Basically, I'm trying to create a formula that copies data from the second table onto the first but only for odd days of the week, excepting Sundays (and assuming Monday as the start of the week). Now, this isn't the hard part, I can do that. The problem comes when I replicate the formula down the calendar. Even on the days when the 'if' statement identifies it as an 'even day', the cell reference to the appropriate workout on the second table is incremented, so when it comes to the next 'odd day', it has skipped a workout.
I can't seem to see any way of getting it to specifically copy the NEXT line in the second table, and not the corresponding line.
This began as a distraction to try and organise my running so I could see at a glance what I had to do that day and track my progress, but now it's turned into an obsession. SURELY there's a solution?
Cheers.Hi Sealatron,
Welcome to Apple Discussions and the Numbers '09 forum.
Several possible ways to move the data occur to me, but the devil's in the details of how the data is currently arranged.
Is it
• a list of three workouts, one for each of Monday, Wednesday and Friday, then the same three repeated the following week?
• an open-ended list that does not repeat?
• something else?
Regards,
Barry -
Error while selecting date from external table
Hello all,
I am getting the follwing error while selecting data from external table. Any idea why?
SQL> CREATE TABLE SE2_EXT (SE_REF_NO VARCHAR2(255),
2 SE_CUST_ID NUMBER(38),
3 SE_TRAN_AMT_LCY FLOAT(126),
4 SE_REVERSAL_MARKER VARCHAR2(255))
5 ORGANIZATION EXTERNAL (
6 TYPE ORACLE_LOADER
7 DEFAULT DIRECTORY ext_tables
8 ACCESS PARAMETERS (
9 RECORDS DELIMITED BY NEWLINE
10 FIELDS TERMINATED BY ','
11 MISSING FIELD VALUES ARE NULL
12 (
13 country_code CHAR(5),
14 country_name CHAR(50),
15 country_language CHAR(50)
16 )
17 )
18 LOCATION ('SE2.csv')
19 )
20 PARALLEL 5
21 REJECT LIMIT UNLIMITED;
Table created.
SQL> select * from se2_ext;
SQL> select count(*) from se2_ext;
select count(*) from se2_ext
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04043: table column not found in external source: SE_REF_NO
ORA-06512: at "SYS.ORACLE_LOADER", line 19It would appear that you external table definition and the external data file data do not match up. Post a few input records so someone can duplicate the problem and determine the fix.
HTH -- Mark D Powell -- -
Can we export DATA from all tables in a schema?
Hi,
I have a question; Can we export all the DATA from all the tables present in the schema to any source (eigther CSV, TXT, DAt, etc..)?
Or
Can I have a PL/SQL procedure to display DATA from all Tables in a schema?
With Best Regards,
- NaveedHi,
This is pretty much what you need.
DECLARE
V_COUNT NUMBER;
v_sql varchar2(1000);
IN_OWNER_NAME VARCHAR2(100) := 'AP' ; -- SCHEMA NAME
TYPE T_COL_NAME is table of varchar2(1000) index by binary_integer;
v_col_tbl t_col_name;
BEGIN
FOR i in
(SELECT object_name
FROM dba_objects
WHERE owner = IN_OWNER_NAME
AND object_type ='TABLE'
and rownum < 2)
LOOP
v_sql := 'SELECT COUNT(*) FROM ' || i.object_name ;
EXECUTE IMMEDIATE v_sql INTO V_COUNT;
if v_count > 0 then
v_sql := 'SELECT * FROM ' || i.object_name ;
select column_name
bulk collect
into v_col_tbl
from DBA_TAB_COLUMNS
WHERE TABLE_NAME = I.OBJECT_NAME
AND OWNER = IN_OWNER_NAME;
-- start selecting the column and exporting using the column names selected.
end if;
if v_col_tbl.count > 0 then
for i in v_col_tbl.first .. v_col_tbl.last
loop
DBMS_OUTPUT.PUT_lINE(v_col_tbl(i));
end loop;
end if;
DBMS_OUTPUT.PUT_lINE( i.object_name || '-' || v_count);
END LOOP;
END;
- Ronel
Maybe you are looking for
-
Can't create DNS zones in Server Admin
Hi All, So, I've run into this strange problem where when configuring the zone files for the DNS server in Server Admin that clicking on the + button doesn't do anything. I've re-installed Tiger Server including reformating the disk and still nothing
-
Adobe Tracker for distribution of forms
Will Adobe Tracker for distribution of forms be affected?
-
Storage location exclusion from planning run
Hi All I have excluded material from planning run by putting storage location exclusion indicator in MMSC for material. Iam using kanban replenishment. In material master, production storage location is same as that of put in MMSC. I have created P
-
I can't get a SWF file to play in preview or publish mode - yet it will play in edit mode. Is there something wrong with the SWF file?
-
Getting HDV to stop cutting off the first 5 seconds of a clip
So I know that HDV capture with FCP is bad about cutting just a wee little bit off the front of a clip, but I'm having it cut 5+ seconds off! It's frustrating because I slated all my clips for the final editor, but stupid FCP keeps cutting of more th