Go to the FreeLists Home Page Home Signup Help Login
 



[oracle-l] || [Date Prev] [09-2006 Date Index] [Date Next] || [Thread Prev] [09-2006 Thread Index] [Thread Next]

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

  • From: "Kevin Closson" <kevinc@xxxxxxxxxxxxx>
  • To: "Oracle-L Freelists" <oracle-l@xxxxxxxxxxxxx>
  • Date: Sat, 2 Sep 2006 10:47:27 -0700
 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?). 


...use dd, you can precisely scribble over an exact block, such as:

$ dd if=/dev/zero of=system.dbf bs=4k seek=42 count=1


--
http://www.freelists.org/webpage/oracle-l






[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.