Recommended way to keep backups of my programming projects?

It doesn't cost anything if you keep your project public.

Well I don't want all my bots public...so what are my other options? bearing in mind I definitely don't want to pay. Just the usual backup to some other device or there is still a verison control way?

I might just use my old computer since I was thinking of something to use it for as well as something like dropbox in a cloud to get my bases covered.
 
Hi Martin,

I'm not a software developer, I tried my hand at coding learned PERL a long time ago and bought Visual Basic learned a bit then leaned towards marketing. When I see the programs people are coming up with I kick myself for not sticking with it.

The reason I'm chiming in is because of Dropbox I went on disability a while back and had to cut back. They make it nearly impossible to delete stuff from your account so you will give up and resubscribe. I had a sharing folder from my old boss we deleted it that wasn't enough still had to go back into the delete folder and delete the deleted files. Now it tries to re-add them nightly. I backed it all up on USB external drive but I will check up on the version control if I decide to take up coding again. I also add my regular files to OneDrive, I'm going to find another service and hopefully straighten out Dropbox.

I cannot stress how important back ups are a couple years ago I had Carbonite it was time to renew. I hit the renew button it asked if I wanted to do the computer only or computer and external drive I thought hmm let me think about that over night (was going to switch to different computer my subscription for it ran out) Guess what? Next day hard drive went lost it all.

I agree with the person that said use 3 services physical and virtual your time is precious and so are your thoughts I lost information that was irreplaceable.

Good luck with the search and the coding
Jilly
 
No no I didn't say I'm scared of the command line. How dare you sir.

That is like saying to a body builder he's afraid of the gym.

I love the command line.

Are there any free alternatives then. I'm not paying a monthly fee for anything like this. I'm an open sourcer baby.


Bitbucket lets you host unlimited free repositories.

Alternatively, here's 2 ways to host it yourself:


All on the command line
If you are using it purely for your own stuff, and mainly as a backup, you can host the repository yourself on pretty much any linux hosting/server. You'll need git installed on the server, and ssh. If you ssh into your server, and type git --version to see if it is installed. If you create a subdomain to keep it tidy (git.yourdomain.com) and have this point to it's own folder, you can store all your repos in there. You can then push your repos to your server (something like git.yourdomain.com/super-bot.git). You won't get any GUI front end though unless you install something, but if you're only using it as a backup, it's fine. You can get this set up in 5 minutes. I did this a while back, and had all my stuff saved on a 1and1 web hosting plan.


Open source tools
I've since moved to an Ubuntu droplet at Digital Ocean, and use Gogs as a front end / manager. Again, this is a quick set up, but you might not be able to use Gogs on a shared hosting plan. I use my DO droplet for other dev tools too, and doing it this way lets me easily collaborate on projects with other people, as well as explore my previous versions if I overwrite some code I find I need later. Gogs is a lot more lightweight than say, GitLab, or self hosted GitBucket.

Both methods can use git from the command line (just git push to send to the server after it's all set up). I use the GitHub app (you're not tied to their service, it works perfect on my own hosted repos) as it's quick to create branches, see changes, do commits, and push to the server.


EDIT:
To those talking about DropBox (and it's cost and security): if you have enough space on your server for what you need, look into OwnCloud. Basically the same, but on your own server. Works with shared hosting too.
 
Last edited:
Back
Top