Live data from Hacker News

Ask HN: Developer Workstation Backups

news.ycombinator.com

51–52 of 52 posts

Re: Ask HN: Developer Workstation Backups

#51
post #29
post #5

I just don't store anything locally that I don't mind losing. If we are talking about software development then everything is tracked in git. If I'm still part way through some changes at the end of the day I will just `git commit -am "wip"` and push to a remote branch for safe keeping. Then you can rework the commit[s] locally before opening / flagging the PR for review. Documents and stuff are all in google docs/dr…

>Documents and stuff are all in google docs/drive or something like that There have been horror stories of people randomly loosing access to their Google account, probably because some automatic check decided that they violated some term of use. I see how convenient it is to work "in the cloud", but if those are important documents you should keep a local copy as well.

I have OneDrive sync both ways. Odds my machine is fried at the same time M$ decides they hate me is a risk I'll take.

Re: Ask HN: Developer Workstation Backups

#52
Im a dev that moved to devops and use a VM for dev work (or spin up a machine in Cloud). All code is in repos stored on Github, Gitlab etc. I also have a repo that contains scripts that will build the VM using Packer & SaltStack, and a text file (that is stored on usb's) to say how to add packer and any other base tools needed for the VM (saltstack scripts can be used a the cloud machine)
Post reply on HN