recovery

My VMware ESX server console volume went readonly. How can I save my VMs?

Two RAID volumes, VMware kernel/console running on a RAID1, vmdks live on a RAID5. Entering a login at the console just results in SCSI errors, no password prompt. Praise be, the VMs are actually still running. We're thinking, though, that upon reboot the kernel may not start again and the VMs will be down. We have database and disk ba...

Fastest, easiest way to recover PCs lost to viruses and malware?

Probably like most people here I get the awesome task of looking after all my elderly relatives PCs, because 'you know about computers'. Right now I'm reinstalling XP on two of them, instead of doing useful work, because they are so infected with viruses and malware from general internet surfing ("you're our thousandth customer, click he...

Upgrade database from SQL Server 2000 to 2005 -- and rebuild full-text indexes?

I'm loading a SQL Server 2000 database into my new SQL Server 2005 instance. As expected, the full-text catalogs don't come with it. How can I rebuild them? Right-clicking my full text catalogs and hitting "rebuild indexes" just hangs for hours and hours without doing anything, so it doesn't appear to be that simple... ...

Recover corrupt zip or gzip files?

The most common method for corrupting compressed files is to inadvertently do an ASCII-mode FTP transfer, which causes a many-to-one trashing of CR and/or LF characters. Obviously, there is information loss, and the best way to fix this problem is to transfer again, in FTP binary mode. However, if the original is lost, and it's importa...

Smarter Vim recovery?

When a previous Vim session crashed, you are greeted with the "Swap file ... already exists!" for each and every file that was open in the previous session. Can you make this Vim recovery prompt smarter? (Without switching off recovery!) Specifically, I'm thinking of: If the swapped version does not contain unsaved changes and the edi...

How do I restore from a drop database command using a mysql binary log?

How can I restore a mysql database that was dropped using a "drop database" command? I have access to binary logs which should make this type of rollback possible. ...

Booting order with SATA disks and "Dynamic Partitions"

Some time ago (the last time I had to care about this was a few years back), booting a PC worked kind of like this: There was an ORDER to disks (primary Master, primary slave, secondary master & slave) The PC would take them in order, and look for an "active partition" (which was set with FDISK) It'd boot from the first active partitio...

Subversion Berkeley DB broken, recovery failed.

I've got a Subversion repository, backed by the berkeley DB. Occasionally it breaks down due to some locks and such not being released, but this morning it was impossible to recover it using the 'svnadmin recover' command. Instead it failed with the following error: svnadmin: Berkeley DB error for filesystem 'db' while opening 'nodes' t...

How do I attach a MSSQL 2000 database with only an MDF file.

I have an old server with a defunct evaluation version of SQL 2000 on it (from 2006), and two databases which were sitting on it. For some unknown reason, the LDF log files are missing. Presumed deleted. I have the mdf files (and in one case an ndf file too) for the databases which used to exist on that server, and I am trying to get t...

Recovery from optical media ignoring read errors

I have backups of files archived in optical media (CDs and DVDs). These all have par2 recovery files, stored on separate media. Even in cases where there are no par2 files, minor errors when reading on one optical drive can be read fine on another drive. The thing is, when reading faulty media, the read time is very, very long, because ...

Data recovery mechanics, is it possible to recover items from the hard drive?

I've been using some data recovery tools like Diskinternals Uneraser. I've been wondering how we can recover things on a hard drive programmatically? Is there specific disc access mechanics, patterns, API to use? Is it something I can do in C#? ...

Read data from damaged media

Is it possible to read damaged media (cd, hdd, dvd,...) even if windows explorer bombs out? What I mean to ask is, whether there is a set of APIs or something that can access the disk at a very low level (below explorer?) and read whatever can be retrieved even if it is only partial, especially if you can still see the file is there fro...

Undo changes to SQL Server 2005 database

I've ran some "ALTER" scripts on the database [SQL Server Server 2005], and overwrote some sprocs. Is there any way to undo changes and get my old sprocs back? Is there a way to get the scripts that were executed out of the .LDf file? That way i can re-run my initial "create" script for my sprocs. I don't have a backup file with old sp...

Recovering VBA password for Access 2000 file

It's the usual story, Access 2000 file created by former employee who protected the VBA code with a password. Now, some time later, the VBA code needs to be changed and we're unable to extract the password from the former employee. Searching online gives dozens of tools claiming to recover VBA passwords, but they have a wiff of Trojan a...

Recovering from Subversion corruption

Something has gone wrong in subversion and now I am facing svnadmin: Invalid diff stream: [tgt] insn 0 starts beyond the target view position if I try to make dump from repository. We have another question about it here Subversion Repository Error, but the solutions there are not good enough for me because the corruption is 85 revisi...

How do I extract Word documents from data recovered from USB device?

I have been able to copy the raw data from an otherwise inaccessible USB drive into a monolithic file of about 250MB. Somewhere in that blob of bytes are about 40 Word documents. Where do I find documentation about the internal structure of Word documents such that I can parse the byte-stream, recognise where a Word doc starts and fin...

Recovering from an unfortunate "svn copy"

This afternoon, upon noticing a broken build and the fact that some files looked like very old versions (about 2 weeks old), I checked the svn log. Apparently just this afternoon, 1 of the developers did an "svn copy" of a directory from an older revision to the same directory. Thus it appears that the latest version "i.e. head" of all...

How to recover from svn hotcopy backups

Our current backup process is doing a SVN HOTCOPY every night, to a backup location on a different machine. Can I somehow recover from that backup and retain all revision history? Or do I need to use the svn dump/load? Thanks, Chandrajeet ...

Subversion Merge between multiple working copies?

We've completely lost our repository and we have 8 developers with uncomitted changes. Restoring from backup is assumed to be not possible. If one person could have access to all the working copies (either file copy or remote share) is it possible to merge changes in our working copies to one working copy? The final working copy could...

Python code for sorting files into folders.

Hi. Python 2.5.1 http://www.cgsecurity.org/wiki/After_Using_PhotoRec I've just run PhotoRec and the code given as a way to sort file types into their own folder is coming back with this error. Any suggestions on how to alter? Thanks : [EDIT2: Two points: This question was voted down because it was a 'usage' of code, somehow not a p...