I'm a programmer of all sorts and, in layman's terms, I created a form which users use to review certain information and then approve or reject it.
Today was the first rejected form we received. My boss asked why and I regurgitated the reasons that were listed on the form.
He then wanted to delete the data entry because it provided no value (his opinion).
I expressed my opinion and pointed out that he literally just now wanted to know why the form was rejected and the only way to get that information was from the form data itself.
Later on in the day I noticed the form data is still in the DB so I quickly made a back-up for it, let my boss know that I made the back up with the reason I told him earlier in the day. An hour or so later I get called into his office and get chewed out. He said me making the backup pissed him off and that I was only a programmer and, even though opinions are welcome, actions like that are not and that I was lucky I did it with him and not any of the other higher ups.
What the heck just happened? The backed up data is on my local machine in csv file. Not on any server taking up space or anything (it's only three rows anyway)!
He has never treated me like this before and I am transparent about everything I touch.
Did I truly overstep my bounds?
Can I trust my manager?
Is this an early sign they want me gone and are going to nitpick everything?
UPDATE: I sent an apology letter hitting all possible reasons on why I was in the wrong. Apology was accepted and it was suggested to move on from the situation. Thank you all for your insights you really helped me out here.
UPDATE 2: A Co-worker that knew about the situation got the inside scoop from the boss. What pissed them off was the connotations of my words in my reasoning...Which is really out of character because I have never had an issue before with them or anyone else. After re-evaluating all answers today.. I have been convinced I was setup to fail.
If I obliged to the deletion of the data who knows what issues would've happened during auditing (I don't know how the data is audited though). More than likely I would've been the one blamed for the problems (I saw it happen to the programmer before me).
If I made the backup the "correct" way instead of archiving it would still fall under insubordination.
I will be voting to close this question now.