I made several ill-advised mistakes working very late one night on several sites that are a mix of D7 and D6. No, I didn't make a backup, and yes I have a lot of lame excuses.
So, as I was going through the core upgrades for these sites, I inadvertently overwrote the codebase of a D6 site with the D7 core upgrade. Here's what I do for core updates (which always works beautifully for me btw):
# wget drupal-x.xx.tar.gz
# tar -xzvf drupal-x.xx.tar.gz
# cd drupal-x.xx
# yes | cp -Rupf * ../
Did I mention it was very late and I didn't do a backup? Then upon realizing what I did, I tried to *undo* it by overwriting the proper D6 upgrade onto the same directory (basically doing exactly the same process with the proper drupal core file). No profit. Fortunately, it's a staging site not production, but I do still need it back.
Do any of you Drupal command line/drush ninjas out there have any advice for me? I don't think this corrupted the database, but maybe it did somehow?
Thanks in advance,