Backing up code to the cloud

I want to regularly copy my code to the cloud. What is the cheapest and easiest way to do this for one developer? I was thinking about fully running my code from the DropBox share (continuous synchronization with their free storage plan), which seems to meet the requirements of a cheap and simple - but any problems with this idea?

+4
source share
6 answers

Use Git for version control and get for free (or $ 7 a month if you want private repositories) GitHub account (online repository where you can push your changes).

This way you get the benefits of a modern version control system, as well as free online backup and online source code availability.

Even for a single developer, a source control system is preferable, for example, audit of history, change of annotation, change of grouping, rollback, branching, etc. Dropbox is likely to be pretty unsophisticated in this regard.

+6
source

I use iGoUSB for my backup needs. It has a very cool version control system with a snapshot history that will allow you to return to any (backup) date to recompile your code. Now this with Dropbox works PERFECTLY:

  • Dropbox keeps your code safe while their service is running
  • Free Dropbox 2GB storage should be sufficient for the needs of the source code.
  • The iGoUSB repository will let you get back on time when you need it (which complements 30 days ago, which Dropbox gives you for free) - instant version control!
  • iGoUSB allows you to back up from multiple computers / profiles, so you can save your code from any computer that you use.
  • igousb will only save the modified files (while saving snapshots of the code structure), and for source code files, the entire backup will take only a few seconds!

This combination will allow you to:

  • backup sources from multiple computers.
  • keep your code safe
  • keep a transparent and very easy to use version control system

Just add your favorite editor and tools (something like notepadd ++ and winmerge), and you have an enviable portable solution, ready to use at any time convenient for you :)

Note: igousb is not free, you can get a discount if you are a student, but at least it is only one time, and in any case you may need a good and portable backup tool.

+2
source

It seems like a good idea to me. My friend has a website through Dropbox and he said this most of the time, but sometimes it will be a 404 error and you need to update. np

There's github and google code if you don't mind sharing code.

If this is the route you want to take and you want to save it yourself, I would recommend using git for local and remote version control and save a copy in Dropbox.

0
source

http://www.fogcreek.com/kiln/

Joel is better than +1 me :)

0
source

There are not many problems using dropbox if you continue to be the sole developer of the project. For backup purposes, this is just fine. But you may need a version control system to store changes and rollback if you mess up something. xp-dev has good private repositories for the svn or git host, depending on what you prefer.

0
source

I will not tell you which version control system to use, what is up to you, but you really need to use some type of source control . Here are some that are known to work well:

If you choose any of the latest options, you can use free hosting on GitHub or BitBucket to host your data in the cloud.

If you decide to use BitBucket as a solo developer, you get unlimited public and private repositories for free. In the comments, you mentioned that you are concerned about code compromise, so access to private repositories can be very important to you.

The idea of ​​continuous synchronization via Dropbox, although slightly lighter, is losing the huge benefits of version control and is not recommended.

0
source

Source: https://habr.com/ru/post/1333867/


All Articles