Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Version control suggestions?

Posted on 2013-06-13
8
417 Views
Last Modified: 2013-06-20
Hello Experts,

I'm having a problem with development and I'd like to see if anyone has any answers to save me time.

The location of my Drupal site development machine is:
VPN to another company network
    -->RDP to a Windows Server
        --> RDP to a Windows Machine (my dev box/drupal location)


The database I need to use is in another location.  My two RDP machines DO NOT have internet connection.

Is there a proper version control solution I can use so that when I make changes and/if an error comes up, I can just easily revert back?  Currently, if something gets screwed up, I end up spending too much time trying to fix, whereas I'd rather just revert to a stable version.

Currently, I just zip the site up and save incrementally.

Thank you.
0
Comment
Question by:Modifier1000
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39245616
I'm not sure I understand the question, but it sounds like you need a staging web server so you can test changes before they get rolled out.

As far as easy restores go, just make a copy of your site prior to rolling out any changes.  Then rolling back is as easy as copying the old site back to its original location.
0
 

Author Comment

by:Modifier1000
ID: 39245660
Sorry if I was unclear.  The Dev environment is staged as a web server with IIS.  I just need a solution, if possible, of 'checking-in/out' my site to create new versions instead of just zipping up the site.

I may make quite a few changes and I really don't want to keep zipping it up each time, if that is possible.

There have been times when I would do a minor CSS edit and it somehow affects the site differently than I expect.  At times making buttons hard to access due to the IE vs. Rest of the Browsers standards.  If I can 'check-in' and immediately 'check-out' my site w/o zipping, I'd like to use that to restore rather than unzipping the site back onto my web server.

I sure hope this makes sense everyone (I just started to type...making sense in my head).
0
 
LVL 13

Accepted Solution

by:
Arrow_1 earned 500 total points
ID: 39245666
You can use the Backup and Migrate module to automate backups of your database. Adding the Backup and Migrate Files module should allow you to back up your files as well.
0
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 
LVL 13

Expert Comment

by:Arrow_1
ID: 39245673
You could also install git on your server to manage changes in code.
0
 
LVL 34

Expert Comment

by:Paul MacDonald
ID: 39245806
Still not getting it.  If you can preview your changes on your development machine (before you deploy), why mess with the live site at all?

I don't get the check in/check out thing, either.  I have my web sites in source control, but that's different from deploying them to a live server.  I make changes to my site, deploy those changes to a test server for evaluation, and then put them on the live server when I'm satisfied.  If I'm uncertain about a change when I deploy it to the live server, I just rename the old page so if I have to roll back, the old page is already there (it just needs to be renamed).

Lastly, if browser evaluation is what you need, check this out:
http://browsershots.org/
0
 
LVL 12

Expert Comment

by:junipllc
ID: 39245848
I second the git approach, as it is the approach we use here. I would actually recommend Aegir (for future readers) but it doesn't work on IIS.

If you use git on the local network (so all machines have access to a central repo) then you can, for example, change out the css file using git. If it doesn't work, then just revert that change, again just using a git command.

Things get a little more complicated when you try to version control the database. That can't be done, other than using the Features module to export the database configurations to code. You can, then, version control the Features code.

If you haven't used git, then I highly recommend it. Just about all of the Drupal devs I know use git at some point in their deployment strategy. That and drush.

I hope this helps!

Cheers,

Mike
0
 

Author Comment

by:Modifier1000
ID: 39264887
To comment on using Git on a server.  I'm use a DoD setup and it's quite intensive on access and how my Dev and Test and Production machines are setup.

I'm mainly interested in using a version control for quick backups check-in/out, coupled with another place to store backups.  But the entire setup for what I'm given seems to give me very few options.

It looks as though I may have to keep the same process.
0
 

Author Closing Comment

by:Modifier1000
ID: 39264889
Thanks
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
This article is in response to a question (http://www.experts-exchange.com/Networking/Network_Management/Network_Analysis/Q_28230497.html) here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question