Time++
Monday, March 26th, 2007For the last three weeks I’ve been creating a new query management system for the Comparables search engine at work, that means I changed the entire content of the component that returns the results. And that also means I haven’t checked in the files during this time, but today SOMEHOW I managed to delete the file from my local development environment. At this point I felt like my life was crashing, I immediately ran to the system administrators thinking that they can recover my deleted file. No luck, it seems that it’s very difficult to recover lost files from EXT3 partitions. I remembered that my boss asked for a printed copy of that file for code review, lucky me … but still the file was pretty big and I didn’t wanna spend my entire day rewriting the file. So I called to Robert a colleague of mine that works on a project that requires an image recognition application. I scanned the printed files and I sent the files to Robert which managed to deliver me the resulted file. The document was correct for about 90 % of its contents. Still I had to correct the file by hand but in about 30 minutes the file was completely restored.
I realized that I need a way to backup the local modified files to avoid these problems in the future, so I started thinking and working on a application that would do that automatically. The application will be in crontab and it will be set to run each hour. The application will execute the “svn status” command to obtain a list of the modified files, the resulted files will be than packed into an archive and delivered into a folder containing the date and time.
Anyway .. In conclusion I’m blaming all this shit on the daylight savings and on the fact that I had to sleep one hour less.