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.

@Deckweiss@lemmy.world
link
fedilink
English
48M

borgbackup

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
link
fedilink
English
28M

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

@acockworkorange@mander.xyz
creator
link
fedilink
English
18M

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
link
fedilink
English
2
edit-2
8M

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.

Create a post

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!

  • 1 user online
  • 215 users / day
  • 438 users / week
  • 1.15K users / month
  • 3.85K users / 6 months
  • 1 subscriber
  • 3.71K Posts
  • 74.7K Comments
  • Modlog