Browse > Home / Archive by category 'Tips'

Subscribe via Email | Subcribe via RSS

How I Deleted My Whole MP3 Collection But Was Able to Recover Most of It

mark_pulling_hair_smSo I’m pretty good about securing my data and backing up. I have a RAID 1 setup on my main machine as well as an external NAS that is also setup as a RAID 1. The only thing I haven’t done yet but will soon is find an offsite backup solution in the cloud. I’ve been doing manual snapshot backups to my NAS from my local machine but I wanted a cleaner more automated solution that not only backed up a directory but also synced it.

So what do I mean by syncing? Well there are programs that will keep a mirror image of a source directory to a specified destination directory. The reason I want this is because after a backup I will often move directories around and delete them. When you setup a backup scenario these changes aren’t reflected, but if you setup a sync, they are. In the past I had used a program called Second Copy that did this well but I have recently discovered two new free apps that also provided sync functionality and wanted to give them a shot as it’s always nice to have a free solution to recommend to people. More on that in a minute, but first let me share my hell with you.

So I setup the first of these new backup apps which was called GFI Backup. I decided to use my MP3 collection as the source directory for these tests (huge mistake). It appeared to be a pretty nice program with a clean and simple interface. The backup process worked great, but the setup options related to synchronizing folders was a little confusing and I couldn’t get them to work properly. So I went on to the second app called Syncback which I read about in Lifehacker backup tools roundup. I decided to create a new source directory for this test with just a subset of my mp3 files in it. I did however place the destination directory in the same root directory as the one I setup for GFI Backup. I also could not get Syncback to properly synchronize the directory. So I gave up and went to bed that evening.

The next day I went to my machine and as I often do loaded Winamp and click the play all button for my collection. I noticed that it was skipping around from track to track in the player and suddenly felt my heart sink. I knew that behavior. It meant that the data from the loaded library wasn’t located in the directory. I quickly went to my MP3 folder. I saw all my folders in there but as I poked around within directories I found them all to be empty. I then went to the destination directory on my NAS. Same thing, no files. I went into panic mode. I double and triple checked the directories but no luck. At this point I realized that something in my synchronization setup of the backup apps had gone seriously wrong. I’ll say that I never went back to try and determine what exactly I did wrong, but if it was that easy to screw things up, I wanted nothing to do with either. To be fair, they both operated fine as backup programs, but synchronization can be a little trickier and neither made that setup work easily. Also, the fact that I shared a destination directory for my testing may have lead to the problems as well. So take my mistakes with a grain of salt and if you choose to try these programs do it with some unimportant data files first so that you don’t have to worry about losing anything important. I know better than taking the actions I did for these test. I can sometimes be a bonehead.

Anyways, at this point it was time to seek out a recovery program to attempt to undelete as much of my MP3 collection as I could possibly salvage. One thing to note is that whenever you delete data on a hard disk your best bet is to stop doing any file related actions on the machine and stop using it if possible. This will ensure the chances of recovering the data. When you delete files all the data is still on the system and the operating system just sets a flag to not show them in your file system. If you start moving files around and writing new data to your system then you risk overwriting the data that is on there and thus lowering your chances of recovery. So I had used a few recovery apps in the past and needed to refresh my memory as to which were good.

I found this great Lifehacker story on the five best free data recovery tools. I had used a few of these before and just wanted to determine which would be the best for the job. Of the five listed I decided to try the two which offered the most functionality which were Recuva and Undelete Plus. I’ll cut to the chase and tell you that Recuva was far better. It scanned the drive very quickly (less than a minute) to determine which deleted files where on my system. The same operation took about 20 minutes on Undelete plus. Also, recovering files using Recuva was very fast it appeared to be able to do a several within a second or so whereas Undelete Plus took several seconds just to recover a single file. Now this may not seem like a big deal but I had to recover over 15,000 files. Lastly, the ability to filter the results by a specific directory worked great in Recuva and I couldn’t find an easy way to do it in Undelete Plus. Needless to say I chose to use Recuva.

recovery_recuva_sm
(Click image for full view with details)

Recuva also had a nice feature that showed the probability of being able to recover each file that it scanned as being deleted. In my case it appeared that over 95% of the files had an excellent chance of recovery. So before I started I got an external USB hard drive I had which also had a snapshot of my MP3 collection on it from 2 years ago so at least I had something but have obviously acquired quite a bit since then. I created a new directory on the drive, flagged all files in my MP3 directory and told Recuva to go to work. After ~2 hours I was able to recover over 15k files for a total of over 60Gb of data. That turned out to be over 95% of my lost files. I was pretty amazed by how lucky I was.

I had to take screenshots (because there is no facility to save the file info) of the remaining files Recuva identified as being poor or having no chance of recovery so I had a record of them. This way I had a record of what I lost. I did locate some of the files that they listed as having a poor chance of recovery and they worked so it could be a painstaking process to try and determine which are good and which need to be replaced but at least I have a record of them. Overall I’m extremely happy with Recuva and sending this awesome freeware a donation for what they’ve done for me.

The other issue is that there was some data that was still ok and on my local drive that didn’t get deleted. I knew this because showing properties on my local MP3 directory showed that there was 5Gb of data still on it. but there was no way I was going to click individually on the hundreds of folders many of them nested to determine where the data was. Ok, if push came to shove I would have done that but I was pretty sure there was a tool to do this for me. I remembered that there are some file / directory compare tools out there and was able to find WinMerge which was recommended on Lifehacker as well (Yes, I like Lifehacker). So I compared the original MP3 directory to the recovered one and WinMerge showed me that there were 7 directories on the original that weren’t on the recovered one. Nice, so now I was able to identify these folders with data in them that wasn’t deleted and could now merge them into the newly recovered MP3 directory.

recovery_winmerge

But there were still more files to be found as that wasn’t everything. Apparently some of the folders in the source still had files in them. So the issue was that I would still have to click on every folder in WinMerge to try and find which ones had data on the original directory versus the newly recovered one. That was going to be a pain so I looked into a way to do a directory listing of the source to try and root them out. I found this great tip on how to create a text file of a directory using the command prompt. This worked perfectly. I opened the file in a text editor and then began searching the file for the value “.mp3″ which then uncovered the only folders that had files in them. Bingo, that worked and now I finally was able to locate every possible file I could recover.

The last thing I want to mention is that I could have taken another course of action that would have probably insured a closer to 100% recovery. If you remember I had all the data on my NAS which also was subsequently deleted. I read about a process where if I would have taken one of the drives in my RAID 1 array out and placed it in an external case and then plugged it into my computer via USB and used a program called Diskinternals Uneraser which would mount the NAS ext2 file system and then undelete the files that way. But I figured I had done a pretty good job with my recovery process and really didn’t want to go through all the trouble and then risk any issues by putting that drive back in the NAS and losing any data on their after the process. Enough damage and time had been wasted already.

So as you can see this was a very agonizing process that I brought upon myself by not really being careful testing new software that can be very dangerous on unimportant data. I was very lucky to find such good tools to help with the recovery and hopefully this will be useful to someone else who unfortunately runs into a large data loss situation. So I’m going back to using Second Copy for backups and Synchronization which has worked perfectly in the past. I just hope I learned my lesson and can avoid this torture from happening again.

Tags: , , , , , , , , ,

Top 10 Wordpress Plugins from WordCamp 2008

Wordpress fans from far and wide congregated this weekend in San Francisco for WordCamp 2008. There is some great coverage in a live blogging style over at The Web Life. One of the interesting tidbits that I found over there was a list of the top 10 Wordpress plugins.

Here’s a quote:

For every feature that we could add to Wordpress, there is a plugin for it. Wouldn’t it be interesting to look at the usage of these and guage where should we go with it.

They also state that there are 4.96 average plugins per blog. The most a user has installed is 1290; 526 of those are active.

The post goes on to list the top 10 plugins…sans links. But I have taken the time to make your journey to them a little easier by providing them in my list below. Also, no information was provided as to the basis for how this list was calculated.

Top 10 plugins
1. Akismet
2. All in One SEO Pack
3. Google XML Sitemaps
4. NextGEN Gallery
5. Wordpress.com Stats
6. WP-DB-Backup
7. WP-Cache
8. WP Automatic Upgrade
9. WP-Polls
10. CformsII

Tags: , , , ,

My Memory Upgrade – Just Because it was too Cheap not to

I’m running a Dell 8400 3.2GHz system with 1Gb of RAM and didn’t have a real need for more memory until recently. I’ve been contemplating getting VMWare up and running to play with Vista and Linux in an isolated environment. I was working on a friends system and while doing so decided to temporarily borrow some of his ram and drop it into my system. It was nice to have the extra memory and I decided to look around at RAM prices which I hadn’t followed to see were prices were.

I was pretty amazed when after doing a little searching around on dealnews, techbargains, and fatwallet I was able to find a 2GB Kit (2 x 1GB dual channel kit) of DDR2 memory for only $70 with free shipping at one of my favorite online merchants newegg.com so I decided they were too cheap not to buy them. I could then easily get about $30 for the 1GB dual channel kit I already had in the system making the upgrade net at only $40, but I decided to be nice and put the memory in my son’s computer.

As I went to the page to provide you with the link I come to find out that they dropped the price another $5 to only $65…amazing…Here’s the Link

2Gb of DDR2 Ram

Tags: , , , ,

How to Disable Widgets in Wordpress 2.2

If you are planning on upgrading to Wordpress 2.2 one thing you want to know is that it now includes widget support in the core. This is a great addition for the most part as widgets have proved themselves to be a great addition to Wordpress. The only problem is that if you prefer the Sidebar Modules Plugin like I do (Implementation is so much nicer!) or if you are using a theme that has SBM embedded such as K2, you will run into problems as they are not compatible with Wordpress 2.2

I installed 2.2 on my local server and verified that my version of K2 was broken after upgrading. Luckily I found a solution. Darrell Schulte is a progressive Wordpress blogger who is currently running version 2.3 alpha and uses K2. It appears that as he was using beta versions of 2.2 when he came across this issue and developed the Disable Wordpress Widgets Plugin.

I downloaded and installed it and can verify that it worked with the release version of 2.2 and allowed my K2 theme to work gracefully again. I thought I’d help get the word out for all the other Sidebar Module users out there.

Search to Buy the Best Hair Dryer for my Wife


My wife’s current hairdryer had just died. It was a pretty good one that had cost her ~$100 (I had no idea they could cost that much). But she really liked it. We went to Costco and she bought some $20 model they had over there and had been using it but knew that she didn’t like it as much. Being the tech gadget freak that I am, I decided to employ my research and purchasing skills as if I were buying some new computer accessory, to find her the best hairdryer I could as a birthday gift.

So I searched around for some reviews and comparisons of top hairdryers out there. The best I found was “How to pick the best professional hair dryer” at Missiko.com and “Buying The Right Hair Dryer” from CBS News. After reading each of these it became clear that a two rose to the top which were the Farouk CHI Turbo & Rocket Ionic hair dryer as well as the T3 Evolution Tourmaline hair dryer. I learned about what makes these higher end hair dryers so much better based on use of negatively charged ions, tourmaline, and ceramics. So my next step was to find some user reviews for each of these which I found over at a commerce site called Folica.com. They had a good number of user reviews for the Chi Turbo, Chi Rocket as well as the T3 Evolution. After thinking about it some more I decided to get my wife the Chi Rocket. Needless to say my wife was very happy not only with the hair dryer I bought her, but with the research I did to make sure I got her the best one.

Guys, let me tell you, going through a process like this to get your lady a tech gadget can go a long way in getting her to appreciate the nuances of getting better gear. It can also open the door to her understanding why we go through so much trouble selecting our gear. Hopefully she will understand this as I decide which High Def DVD player I will be purchasing soon.

Tags: , , , , ,