Results 1 to 12 of 12

Thread: Back Up Code

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Back Up Code

    Hi Guys,

    So I have been playing with virtualisation for development so that I can have differently configured installs depending on what I need to develop. I have begun to use source control and I have to say the roll back feature alone is worth it.

    One of the issues is though before I used source control or virtualisation I used to just grab the code folder and back it up. What is the best method to back up now?

    Would it be to just save a copy of the virtual machine? Or would it be to make a copy of the database?

    I have plenty of space so I could make alternating copies of the VM no problem if that is what the easiest option is.

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Back Up Code

    It depends what you need to backup! Does the database hold all your source code? Or do you have setup files, etc that you also need to keep? I'm not sure but does the virtual machine allow you to change the size of the VM after you have initially set it up?
    Last edited by Nightwalker83; Nov 21st, 2009 at 12:42 AM. Reason: Fixed spelling!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Back Up Code

    At the moment I only have source but of course this can change to include other stuff. I don't know if you can change the size after the fact but why would you need to?

  4. #4
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,132

    Re: Back Up Code

    Source control and backup are two different things - while source control utility like Visual SourceSafe allows restoring, comparing, etc code from some point in time it [SourceSafe] needs to be backed up as well.
    Backups need to be done on a regular basis and regardless of any source control you might have - perhaps to external hard drive or even flash drive (if not much to backup).

  5. #5

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Back Up Code

    That is what I thought, I have all my Development data plus the VM on a seperate HDD so I think the easiest thing to do is to just back up the HDD!

  6. #6

  7. #7

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Back Up Code

    Oh I do, In the VM I have SourceGear Vault installed!

  8. #8
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Back Up Code

    Quote Originally Posted by DeanMc View Post
    I don't know if you can change the size after the fact but why would you need to?
    I was thinking of space taken up by the vm! If you have multiple machines that are big in size and only use a fraction of the space on each the remaining space could be put to better waste rather tha just wasted.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  9. #9
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Back Up Code

    I'm not sure I see the advantage of developing in a VM. Testing, yes, but developing? For testing rolling back the VM to a clean state is very useful.

    Plus you have the issue of the licensing costs for the tools. Each VM needs a license, just as if you were using multiple physical machines.

    Visual Studio may give us an out here though, at least in some versions and editions: Microsoft Visual Studio 2008 License Terms
    Last edited by dilettante; Nov 21st, 2009 at 09:21 PM. Reason: More info

  10. #10

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Back Up Code

    I would have thought that too but after playing around with VM's it seems to make sense. Originally I had my PC chalk full of different installations as well as all my personal rubbish, now I can still have my personal rubbish and programming on the same pc but they are separated!

  11. #11
    PowerPoster dilettante's Avatar
    Join Date
    Feb 2006
    Posts
    24,487

    Re: Back Up Code

    Maybe the "personal rubbish" ought to be in a VM too? Then you can just carry the VHD along to a new machine when you replace the old one.

  12. #12

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2008
    Location
    Rep of Ireland
    Posts
    1,380

    Re: Back Up Code

    I had thought of that but I like the idea that my development machine is clean of my music and pictures etc, The other fact is when beta products come out I can play with them safely without upsetting other applications or installations that I may have ;0

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width