TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How do you do backups for personal/home server?

24 pointsby e3bc54b2almost 2 years ago

18 comments

jqpabc123almost 2 years ago
I have an external RAID 1 hard drive that I backup everything to every 6 months or so.<p>Before someone points it out, the individual drives in the array have build dates that differ by at least a year.<p>In addition; for really critical stuff only (accounting data, deeds, business contracts, access codes, software source code, etc.) I use micro SD cards for more frequent backups as needed.<p>I have a cheap digital watch with a SD card holder that I 3D printed and built into the strap. The SD drive is encrypted with Bitlocker and it travels with me wherever I go.<p>Basically, this really critical data is as safe as I am. I always make 2 copies of the SD drive and keep one in a fire proof safe. The key to the safe is revealed in my will which my lawyer has. Inside the safe is the decryt key to the SD card. A trusted relative also has the decrypt key.
stampsalmost 2 years ago
I tried a bunch of different ways but ultimately settled on Duplicacy [0].<p>It runs inside a Docker container and backs up both my data as well as configurations like my docker compose file and smb.conf.<p>Off site storage was Backblaze B2, but I moved to Hetzner. Likely will move back just because B2 is cheaper and a bit faster for my region.<p>Another layer of backup I do is use Duplicacy to backup to a portable hard drive occasionally that I keep off site.<p>[0] <a href="https:&#x2F;&#x2F;duplicacy.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;duplicacy.com&#x2F;</a>
评论 #36270692 未加载
LinuxBenderalmost 2 years ago
On individual nodes I keep data in specific directories away from the OS. I rsync those directories to a machine that acts like a NAS. That machine uses rsnapshot to have multiple file level diffs <i>uses hardlinks to save space on dupe files</i>. I back that up to multiple external SSD USB drives. I have one drive in my vehicle. Encryption is just plain dm-crypt with non default cipher&#x2F;hash, no LUKS headers.
fdwalmost 2 years ago
I do backups to a local, external HD (that I need to manually plug and unplug, unfortunately), and to Backblaze. Depending on the importance of the data, it&#x27;s being pushed daily to B2 and weekly to HD, or more seldom, or only to HD.<p>Technology-wise, I&#x27;ve been on restic for some years now, because of its support for cloud backends. (Otherwise, Borg is a fine tool, too.) Until last week, I&#x27;ve used crestic, but I just migrated to resticprofile, as that can do web hooks and pre-&#x2F;post-commands, which I intend to use for SQL server dumps.<p>restic: <a href="https:&#x2F;&#x2F;github.com&#x2F;restic&#x2F;restic&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;restic&#x2F;restic&#x2F;</a> crestic: <a href="https:&#x2F;&#x2F;github.com&#x2F;nils-werner&#x2F;crestic">https:&#x2F;&#x2F;github.com&#x2F;nils-werner&#x2F;crestic</a> resticprofile: <a href="https:&#x2F;&#x2F;github.com&#x2F;creativeprojects&#x2F;resticprofile&#x2F;">https:&#x2F;&#x2F;github.com&#x2F;creativeprojects&#x2F;resticprofile&#x2F;</a>
FeelingGoodalmost 2 years ago
Use a raspberry pi 4B with some external HDDs attached as my &quot;NAS&quot;. The Pi is accessible everywhere i go using Tailscale as VPN for all my devices. For my PC, laptop, phone and such i use Resilio Sync to sync files between devices while also syncing to the Pi. The Pi creates an incremental backup using restic to Backblaze B2 every night.
Zetobalalmost 2 years ago
I have a media nas at my parents location that are mirrored over night.
bombcaralmost 2 years ago
I separate “important” data from “cache” data - the second being things like Linux ISOs and personal DVD rips that I could recover if needed.<p>This reduces my backup set from tens of terabytes to less than one terabyte. And makes it easier to keep many more copies of the very special things (photographs, documents) on multiple devices and cloud services.
techhazardalmost 2 years ago
Desktop, Laptop, NAS and Server all run on ZFS and push snapshots to an extra backup pool on the Server (colocated in a DC).<p>Those backups are also pushed to an offsite location (with a hosting provider).<p>Laptop and NAS run on a single disk rootfs, Desktop and Server run on mirrored nvme drives.
评论 #36270127 未加载
znpyalmost 2 years ago
My home server is a small machine with two disks, one for the os and one for data. The disk for data is using zfs, and i take hourly snapshots between 7am and 11pm. I keep two weeks worth of snapshots for each dataset.<p>I have another small machine (a nuc) with a similar setup at in law’s house, connected to my vpn, and I replicate snapshots over there through the vpn.<p>Worst case scenario i can go visit the in law’s and get my snapshots.<p>Zfs is really awesome.<p>Edit: everything is scripted and ran via cronjobs, of course.
jonas-walmost 2 years ago
1. Raid1 (ZFS), if a drive fails 2. Borgbackup [0] with Borgmatic [1], daily backups to another server which also has Raid1<p>[0] <a href="https:&#x2F;&#x2F;www.borgbackup.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.borgbackup.org&#x2F;</a> [1] <a href="https:&#x2F;&#x2F;torsion.org&#x2F;borgmatic&#x2F;" rel="nofollow">https:&#x2F;&#x2F;torsion.org&#x2F;borgmatic&#x2F;</a>
TheLoafOfBreadalmost 2 years ago
Syncthing all my computers to one and then robocopy on external NAS for cold storage. Repeat once a month.
ndreasalmost 2 years ago
I use borg to backup all my computers to my home server, including the server. It runs raid 1+0. I then use rclone to sync the borg repos to backblaze and dropbox. I encrypt both in the borg repo and in the rclone transfer.
shawabawa3almost 2 years ago
I use tarsnap and a cronjob<p>I loaded up $10 credit like 6 years ago and it&#x27;s still going somehow
yuppie_scumalmost 2 years ago
Apple Time Capsules still work on 2022 M1 Macs. (Slow but they work)<p>I got one on FB marketplace for cheap, i think I will put a faster spinning drive in there and should be good until apple kills support.
OnlyMortalalmost 2 years ago
Apple TimeMachine to S3. That’s right… S3.<p>Edit: to be clearer it’s something I wrote myself from scratch.
electroagendaalmost 2 years ago
I use a NAS.<p>It is synchronized with Google Drive.<p>So I can access my files with the peace in mind there is a back up.
Zizizizzalmost 2 years ago
Restic + backblaze
rubatugaalmost 2 years ago
ZFS + rsync.net