Live data from Hacker News

Ask HN: Developer Workstation Backups

news.ycombinator.com

41–50 of 52 posts

Re: Ask HN: Developer Workstation Backups

#42

* Dropbox for documents and important files * SyncThing (to local Synology and cloud server) for my root git folder (I use the following "style" ~/git/ / ) * CarbonCopyCloner (to T7 SSD) running daily for a full clone * Backblaze for my cloud copy * Time Machine to my Synology just to be safe Not sure if that meets "without a lot of fuss" but it's all on auto-pilot for me and I never think about it.

What is T7 SSD?

https://www.amazon.com/SAMSUNG-Portable-SSD-1TB-MU-PC1T0T/dp...

(Not an affiliate link, AFAIK)

Re: Ask HN: Developer Workstation Backups

#44
I use ansible to configure the OS and to maintain my home. From there I am able to spawn my environment within minutes on a fresh installed system.

Local history of data (not backup) is done by scheduled file system snapshots (zfsnap). I use this whenever I accidentally delete files or directories. It saved my a55 at least once within all the years I have it running.

For instant sync of data between laptops and remote systems, I use syncthing (direct connection through ssh tunnels)

And to the question of backup: borgbackup. But only selected directories of my home. The rest can be reinstalled via ansible.

Re: Ask HN: Developer Workstation Backups

#45
post #24

I like https://www.borgbackup.org/ and you can get a relatively cheap storage plan on rsync.net just for Borg ( https://www.rsync.net/products/borg.html ) Retrieving backups is a little manual. Perhaps someone has created a nice GUI for it.

I just mount the backup repository and then copy what is needed.

Re: Ask HN: Developer Workstation Backups

#46
Using borg here:

- configured through Borgmatic

- encrypted

- long retention (daily, weekly, monthly)

- stored on a relatively fast and large external backup disk (right now a Sandisk Extreme Pro SSD)

The backup plan is automatically triggered when I connect my notebook to the docking station. Never failed me and already saved me from the embarressment of accidently modifying or deleting important files that are not part of a git repo.

Re: Ask HN: Developer Workstation Backups

#47

my dev workstation is so simple i don’t even really need to back it up. All my projects are stored on git. Even assets are stored in the cloud somewhere. I can copy sensitive data like recovery keys onto USB sticks, and occasionally back up everything to a hard drive. But the actual workstation is IntelliJ, git, language tooling, neovim, fish shell, and firefox. The rest are constantly changing based on the project,…

I have around the same - any setup of systems I am working on if will be gone I will just learn to set it up again.

Besides that code is in GIT and passwords are in password manager.

Re: Ask HN: Developer Workstation Backups

#48
I too used to use Crashplan! It steadily went downhill over the years though, so I was looking for an alternative.

I ultimately ended up evaluating various options and deciding on Kopia: https://github.com/kopia/kopia -- been using it for the better part of a year and loving it!

It's basically everything I wanted out of the box: content-addressed storage with built-in deduplication, built-in encryption, compression, many supported backends (filesystem, Backblaze B2, other cloud providers, etc...).

I currently take snapshots on a cron every 30 minutes to a triple-replicated GlusterFS cluster, as well as off-site syncs once daily (B2 currently). Because all of the data is encrypted at rest, I don't mind it sitting in a cloud bucket.

Re: Ask HN: Developer Workstation Backups

#49
post #15

I'm using Kopia + {Wasabi, B2}

Second! I'm also using Kopia + B2 (as well as LAN-based filesystems), it's incredible!

Would like to add a second cloud destination as a redundancy (especially because B2 is so cheap that it's basically free), but I haven't gotten around to it yet. Will check out Wasabi!

Post reply on HN