How do I make regular backups under TrueNAS or Unraid?

Which tools or plug-ins can I use to easily back up my data array to an extreme USB hard drive using Unraid or TrueNAS?

I've done a ton of Google research, but I haven't found a truly satisfactory solution anywhere. Rsync is often mentioned, but that only synchronizes my data. However, I would like to have classic incremental backups with version history, like in common Windows programs (Acronis, etc.).

I haven't installed either operating system yet. Currently, my file server is still running Windows 10. But I want to switch and am now looking for the best system. Unraid and TrueNAS offer almost the same capabilities for my application. I'm just not really convinced by the backup aspect of either…

(2 votes)
Loading...

Similar Posts

Subscribe
Notify of
10 Answers
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Bushmills145
2 years ago

I’m sorry, that should be a reaction to your comment. It was not intended to make a new answer. I clicked there.

These snapshots also read to export to another drive, yes. However, these could also be created much more frequently – because on the one hand it goes super fast, and extra space does not need – only if changed files were covered.

A hard disk array can also be automatically brought back to stand-by. This can also automatically, quite all mechanical plates allow to enter into a time-delayed stand-by mode by inactivity. A read or write attempt on these plates automatically drives them up again, like you know from notebook hard drives. This property has estimated 99.9% of all mechanical hard drives.

I’ll let my snapshots go every hour. Duration to create a snapshot of the complete file system: about 10 milliseconds.

Then I’ll run over a script that thins these snapshots again – i.e. from the hourly snapshots one takes over into the daily snapshots, again one into the weekly, monthly, annual. Because to hold snapshots in 365*24, I’d be a lot. That’s how I’m around and under 50 snapshots.

However, my setup will differ from your intended in some essential details.

Bushmills145
2 years ago
Reply to  SetsunaKyoura

“Data away or damaged” – I put all snapshots as read-only. The data then accidentally harmed excludes that quite. To thin out, I need to make each individual snapshots to be removed (let) writeable again by means of a special command before the one can be deleted.

I actually have more control over the individual drives from RAID because of using md support (quasi “softraid”). I have replaced my previous dedicated NAS/RAID some time ago against an 11x11cm micro pc board and a built-in solution for greater flexibility.

Bushmills145
2 years ago
Reply to  Bushmills145

Thank you for star!

Bushmills145
2 years ago

Also with rsync can create incremental backups, with some script help

One method is to represent each increment as hardlinks in a separate directory.

Whatever is done is to use snapshots from zfs or btrfs for it.

Bushmills145
2 years ago
Reply to  SetsunaKyoura

Recovering snapshots is children’s play – which are shown as directories.

Bushmills145
2 years ago
Reply to  SetsunaKyoura

I already find rsync a standard solution. Smooth everywhere, you can do a lot with it, flexible, compact, free. The fact that everyone doesn’t know about it does not stop their usefulness.

Bushmills145
2 years ago

Then I get here where the other answer should have come, just the setup here: a replicator, always on, is used by all devices to replicate there. So just sync, no incremental backup. The backup, in turn, is a replication of this replicator, from which snapshots are made.

The replicator can signal the devices to be backupped, but please sync, and otherwise the devices to be backup can sync from themselves with the replicator. Mobile devices and only temporarily available devices preferably make the latter.

This is a remnant of the time when a NAS has been periodically raised for the purpose of backup – which is no longer the case. Another device with mechanical discarray is now constantly online (but mostly idle, device and plates)

This also increases the redundancy.

Data exchange between all devices, including mobile devices, runs all over rsync.