Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 30531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T13:27:45+00:00 2026-05-10T13:27:45+00:00

What is the best solution for maintaining backup and revision control on live websites?

  • 0

What is the best solution for maintaining backup and revision control on live websites?

As part of my job I work with several live websites. We need an efficient means of maintaining backups of the live folders over time. Additionally, updating these sites can be a pain, especially if a change happens to break in the live environment for whatever reason.

What would be ideal would be hassle-free source control. I implemented SVN for a while which was great as a semi-solution for backup as well as revision control (easy reversion of temporary or breaking changes) etc.

Unfortunately SVN places .SVN hidden directories everywhere which cause problems, especially when other developers make folder structure changes or copy/move website directories. I’ve heard the argument that this is a matter of education etc. but the approach taken by SVN is simply not a practical solution for us.

I am thinking that maybe an incremental backup solution may be better.

Other possibilities include:

  1. SVK, which is command-line only which becomes a problem. Besides, I am unsure on how appropriate this would be.
  2. Mercurial, perhaps with some triggers to hide the distributed component which is not required in this case and would be unnecessarily complicated for other developers.

    I experimented briefly with Mercurial but couldn’t find a nice way to have the repository seperate and kept constantly in-sync with the live folder working copy. Maybe as a source control solution (making repository and live folder the same place) combined with another backup solution this could be the way to go.

    One downside of Mercurial is that it doesn’t place empty folders under source control which is problematic for websites which often have empty folders as placeholder locations for file uploads etc.

  3. Rsync, which I haven’t really investigated.

I’d really appreciate your advice on the best way to maintain backups of live websites, ideally with an easy means of retrieving past versions quickly.

Answer replies:

  • @Kibbee:

    • It’s not so much about education as no familiarity with anything but VSS and a lack of time/effort to learn anything else.

    • The xcopy/7-zip approach sounds reasonable I guess but it would quickly take up a lot of room right?

    • As far as source control, I think I’d like the source control to just say that ‘this is the state of the folder now, I’ll deal with that and if I can’t match stuff up that’s your fault, I’ll just start new histories’ rather than fail hard.

  • @Steve M:

    • Yeah that’s a nicer way of doing it but would require a significant cultural change. Having said that I very much like this approach.
  • @mk:

    • Nice, I didn’t think about using Rsync to deploy. Does this only upload the differences? Overwriting the entire live directory everytime we make a change would be problematic due to site downtime.

I am still curious to see if there are any more traditional options

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T13:27:46+00:00Added an answer on May 10, 2026 at 1:27 pm

    You can still use SVN, but instead of doing a checkout on your live environment, do an export, that way no .svn directories will be created. The downside, of course, is that no code changes on your live environment can take place. This is a good thing.

    As a general rule, code changes on production systems should never be allowed. The change should be made and tested in a development/test/UAT environment, then once confirmed as OK, you can tag that code in SVN with something like RELEASE-x-x-x. Then, on the live system, export the code with that tag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What's the best solution for embedding non-web fonts into a page without using Flash
I've been stuck trying to arrive at a best solution for this for a
I need an idea for an efficient index/search algorithm, and/or data structure, for determining
Building and maintaining a database that is then deplyed/developed further by many devs is
I noticed that a site I'm maintaining had a little layout bug in FF/IE8/Chrome
I'm trying to decide the best way of having radiobuttons switch around the contents
I'm maintaining a perl script which runs an automated install of our base server
I am currently working on a big project and maintaining all those include guards
I have found the shape data for the borders of all the countries and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.