The firm I work at keeps a copy of the compiled source code on production.

So basically on our Production server, we have two folders:



The Rollback folder always contains one version older code. This is done so that on deployment nights, if something is wrong with the new code, the deployer(who is not familiar with source control software) has the older version to revert back to.

My question is: Is there an official computer science term/nomenclature for the Rollback folder? Or is "Rollback" itself the official term?

  • "official"? Who defines "Official"? – S.Lott Jun 20 '11 at 22:10
  • 1
    "Ass saver"? That's the term I was taught anyway. – Edward Strange Jun 20 '11 at 22:15
  • "...the deployer(who is not familiar with source control software)..." this is scary enough that I would not care what the directory is called, and be more concerned with getting someone competent to do the job. – user7519 Jun 20 '11 at 22:17

We call ours the revert state. We have 2 scripts called go_staging and go_production that do the obvious things, with go_production making a fully functional revert state before anything else is done. We use to call our third script go_revert but we realized that it was better called OMFG. It's only been run twice (not counting testing), but it's allowed us to go from a go_production to "OMFG!" to a running site in something less than about 20 seconds round trip.

I love single-scripts-that-do-everything because when it hits the fan you normally aren't thinking too coherently.

| improve this answer | |

Does it really matter if there's a "proper" term? If it gets the point across, that's all that really matters.

Having said that, I'd either:

  1. Get the "deployer" up to speed with at least the basics of source control. I'd be a little concerned with someone who couldn't grasp the fundamentals, whether they're a seasoned engineer or the building janitor.
  2. Write a deployment/rollback script for the "deployer" to use that uses branches in source control to deploy.

Both of the above options are preferred (to me anyway) to storing an old version on the live server.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.