this post was submitted on 06 Mar 2024
17 points (87.0% liked)

Selfhosted

40183 readers
576 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I am building my 3-2-1 backup system and wanted to add an external HD to my TrueNAS machine. Since it only works with ZFS, I thought of setting up that drive as a compressed, dedup ZFS volume.

I have a truckload of NVMe left on the boot drive that I could repartition and turn some of the free space as a dedup vdev for the backup drive. I don't have any other physical bays to add a dedicated drive on the machine.

A) Is that a bad idea? What are the downsides of using the boot drive like that?

B) Which tool do you recommend for local backup? I'm looking for actual incremental backup, not just a sync tool.

top 5 comments
sorted by: hot top controversial new old
[–] Deckweiss@lemmy.world 4 points 8 months ago
[–] atzanteol@sh.itjust.works 3 points 8 months ago

For local backup I like rsnapshot. It's a script that uses rsync and hard links to create incremental backups.

The thing about it is that it's super simple and easy to restore from since you just get a bunch of directories like "daily.0" and "daily.1". To restore you just find the files you want with standard tools like find and locate and just copy files out.

There are other more advanced tools like restic, borg, duplicacy, etc. I use things like that for the off-site backups (I backup the "daily.0" directory from my rsnapshot backups).

[–] youRFate@feddit.de 2 points 8 months ago (1 children)

Restic is my tool of choice for deduplicated encrypted verifiable compressed incremental backups.

[–] acockworkorange@mander.xyz 1 points 8 months ago (1 children)

In that case, what would be better in terms of memory / CPU usage: dedup and compression at the filesystem level or disabling it and doing it at the tool level?

[–] youRFate@feddit.de 2 points 8 months ago* (last edited 8 months ago)

You can’t dedup/compress restic repos at fs level due to the encryption.

Nice thing is you get those even with „dumb“ targets that can‘t do those for you.