|
-
Oct 29th, 2008, 05:58 AM
#1
Thread Starter
Frenzied Member
Learn by your mistakes
I have just deleted numerous complex queries from my database.
I am literally about to go nuts
But no worries, because I haven't saved the SQL to any of them :@::@!!1!!one
I think I have to say, Epic fail
-
Oct 29th, 2008, 06:20 AM
#2
Fanatic Member
Re: Learn by your mistakes
That's okay, now you can make it right with numerous in-line string concatenations in code!
win!
-
Oct 29th, 2008, 06:25 AM
#3
Lively Member
Re: Learn by your mistakes
-
Oct 29th, 2008, 06:33 AM
#4
Thread Starter
Frenzied Member
Re: Learn by your mistakes
I feel like a n00b, the thing is, after they had been deleted, I could still see the code, but because I didnt think they were deleted I refreshed the environment and poof, gone...
-
Oct 29th, 2008, 07:07 AM
#5
Re: Learn by your mistakes
Ouch. Do you have a backup you can restore as a different instance? That way you could copy the queries across from your restored instance into your live instance.
The best argument against democracy is a five minute conversation with the average voter - Winston Churchill
Hadoop actually sounds more like the way they greet each other in Yorkshire - Inferrd
-
Oct 29th, 2008, 07:47 AM
#6
Thread Starter
Frenzied Member
Re: Learn by your mistakes
There are backups on tapes, but retrieving them would not be easy.
I am rewriting it as we speak, problem is, its not 100% as it was (obviously) and its returning loads of foreign error codes.
Last edited by I_Love_My_Vans; Oct 29th, 2008 at 08:37 AM.
-
Oct 29th, 2008, 08:15 AM
#7
Re: Learn by your mistakes
VSS, CVS, SVN, TFS, PICK YOUR POISON AND USE IT DAMMIT!
I've learned the hard way. No more. I have my own server with SVN setup and nightly backups and I commit everything to it as soon as I'm done or if a lot of time has passed and I don't want to rewrite everything if something happens.
-
Oct 29th, 2008, 08:28 AM
#8
Thread Starter
Frenzied Member
Re: Learn by your mistakes
At the moment its only the database queries that has been affected. We do indeed have a backup, but I haven't committed my code in a little while, I am playing with fire here...
-
Oct 29th, 2008, 08:54 AM
#9
Thread Starter
Frenzied Member
Re: Learn by your mistakes
Backup completed now, I should do this more often...
-
Oct 30th, 2008, 01:32 AM
#10
-
Oct 30th, 2008, 04:35 AM
#11
Thread Starter
Frenzied Member
Re: Learn by your mistakes
-
Oct 30th, 2008, 07:35 AM
#12
Re: Learn by your mistakes
 Originally Posted by BillGeek
Pfffft.... real developers don't need backups.  As a matter of fact, they don't even need a development environment. Just go straight to Production. 
I had a job where all development was done in real time against the production server. To hide it everything would be duplicated and you'd have to set the query string variable Admin to 1 to see the new stuff. Heh.
-
Nov 2nd, 2008, 02:53 PM
#13
Re: Learn by your mistakes
 Originally Posted by homer13j
i wonder how much some one paid him to hold that sign while they took that picture...
Doesnt really matter, because he went to the liquor store and bought booze.... damn homeless people.
My usual boring signature: Something
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|