Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re:How does one manually corrupt a database (database file, redo logs and backups)

Re:How does one manually corrupt a database (database file, redo logs and backups)

From: Alessandro Vercelli <alever_at_libero.it>
Date: Sat, 2 Sep 2006 23:48:13 +0200
Message-Id: <J4ZJ8D$1C1A0EF0B0EF4C7E6D51CF159DEC467D@libero.it>


I believe a simple way to corrupt an oracle datafile, redolog, controlfile could be:

echo "<somewhat string>" >> oracle_file

This should alter the file offset (I don't know if this is the correct technical term) for every binary file and thus making it corrupted towards and Oracle db. The command should also work for both unix and windows.

Regards,

Alessandro

< cut >

> problem. I have tried overwriting the binary files, but being simpled-minded
> I was using vi. I thought about using the unix dd utility - unfortuantely I
> do not have enough experience to be surgical (easy to mess up the first few
> blocks, but what about the middle?). Can I use the same method to isolate
> corruption to various parts of the database (ie, database files, redo logs
> or rman backups)?

< cut >

--
http://www.freelists.org/webpage/oracle-l
Received on Sat Sep 02 2006 - 16:48:13 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US