TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

24 点作者 e3bc54b2将近 2 年前

18 条评论

jqpabc123将近 2 年前
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.
stamps将近 2 年前
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 未加载
LinuxBender将近 2 年前
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.
fdw将近 2 年前
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>
FeelingGood将近 2 年前
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.
Zetobal将近 2 年前
I have a media nas at my parents location that are mirrored over night.
bombcar将近 2 年前
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.
techhazard将近 2 年前
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 未加载
znpy将近 2 年前
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-w将近 2 年前
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>
TheLoafOfBread将近 2 年前
Syncthing all my computers to one and then robocopy on external NAS for cold storage. Repeat once a month.
ndreas将近 2 年前
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.
shawabawa3将近 2 年前
I use tarsnap and a cronjob<p>I loaded up $10 credit like 6 years ago and it&#x27;s still going somehow
yuppie_scum将近 2 年前
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.
OnlyMortal将近 2 年前
Apple TimeMachine to S3. That’s right… S3.<p>Edit: to be clearer it’s something I wrote myself from scratch.
electroagenda将近 2 年前
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.
Zizizizz将近 2 年前
Restic + backblaze
rubatuga将近 2 年前
ZFS + rsync.net