Electronics > Projects, Designs, and Technical Stuff
Keeping track of source code
ajb:
--- Quote from: jc101 on January 28, 2019, 05:59:15 pm ---My working directories (the IDE environment etc.) isn't inside Dropbox, just the git repo I replicate to. As it is very unlikely I will push an update, to the same repo, at the same time, from different machines it isn't a problem. Actually running the programming environment in Dropbox does cause all sorts of interesting problems in itself, so I went with the hybrid solution.
--- End quote ---
The problem doesn't have anything to do with simultaneous pushes. Just something about being in Dropbox or on a Windows shared drive has caused issues with git. I don't know the exact mechanism, but just throwing it out there in case anyone else tries something similar. When I looked into the problem it seemed to be a known thing. It's possible that a repo you only ever push to may not manifest the same problems. Since going back to a separate working directory git has been rock solid for me, as it should be.
zitt:
--- Quote from: emece67 on January 26, 2019, 04:21:58 pm ---SVN server running on a Synology NAS plus TortoiseSVN here.
--- End quote ---
This is what I do.
I even store my Eagle files in a SVN repo.
I have the NAS backup the SVN repos to google drive on commit and then do a periodic sync to my backup service.
I'm forced to use GIT at work; just don't like it. Prefer SVN.
bson:
I too have a Synology NAS (DS1515+, raid 5) and can't recommend them strongly enough. It did have the boot issue due to some Intel Atom CE processor bug (I forget the details) where a boot config pin driver burns itself out over time - but Synology replaced it overnight. They sent me a preconfigured replacement chassis with the same firmware version as mine, Fedex overnight, and all I had to do was move the drives and memory expansion over, and power it up (forget if I had to do anything else). Then sent back the old unit in the same box, using the prepaid label they included. If this one lasts 4-5 years like the previous one then I'll probably be ready for a replacement around that time anyway.
I back up all important data to pair of external USB drives; one drive is plugged in and the other kept with a friend who lives a few blocks away. Every once in a while, like after I've added a bunch of photos and videos (of personal value) or something else important, I'll swap backup drives. The builtin backup software handles it perfectly. The bulk of stuff doesn't get backed up, especially things I can recreate as needed, like a significant assortment of toolchains and VM images for various uses. Other than that I'm not in the habit of torrenting or downloading the Internet, so don't really have all that much. I do keep installers and CD/DVD ISOs for more obscure or old versions of software. (Like for example the software for my Imacon scanner, along with a Mac Mini G4 to run it on and a FW400-to-SCSI bridge, drivers, and a complete image of the MMG4's drive.)
I do sync a bunch of stuff to it - git repos, google drive, and so on, but I don't back this up. I just keep it there to have a local copy, in case. Whenever I order any parts I save the datasheets and 3D models to google drive (Mouser these days provides step models). I really only back up what's impossible to redownload, recreate, reinstall, etc in worst case. This data set is surprisingly small...
Jeroen3:
--- Quote from: bson on January 29, 2019, 04:35:12 am ---I too have a Synology NAS (DS1515+, raid 5) and can't recommend them strongly enough. It did have the boot issue due to some Intel Atom CE processor bug (I forget the details) where a boot config pin driver burns itself out over time - but Synology replaced it overnight. They sent me a preconfigured replacement chassis with the same firmware version as mine, Fedex overnight, and all I had to do was move the drives and memory expansion over, and power it up (forget if I had to do anything else). Then sent back the old unit in the same box, using the prepaid label they included. If this one lasts 4-5 years like the previous one then I'll probably be ready for a replacement around that time anyway.
--- End quote ---
That is also the largest drawback of Synology. You can't really migrate the data to any other system. It must be synology. Yes, they do offer ubuntu image with recovery instructions, but you can't hot plug the volume to non-synology systems.
However, the time saved configuring and maintaining is worth it. Running your own server with some distribution with "hipsterfs"*, as often recommended on the forums, is only nice when it all works.
*zfs, btrfs
emece67:
.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version