Any way to have ZFS backed up by Time Machine?

All your general support questions for OpenZFS on OS X.

Any way to have ZFS backed up by Time Machine?

Postby RobRehnmark » Sat Jun 30, 2018 1:33 pm

Is there any way to have any kind of volume or disk image on ZFS and have it backed up automatically by Time Machine?

Or is the only way to have some script make snapshots and send them to the server?
..or something?
Super grateful to the people developing OpenZFS on OS X!
RaidZ2 working well for storing my data, OS X Server share for Time Machine, FCPX, iTunes, Photos, etc. on my Hackinstosh.
RobRehnmark
 
Posts: 55
Joined: Sat Oct 17, 2015 12:23 am

Re: Any way to have ZFS backed up by Time Machine?

Postby Sharko » Sat Jun 30, 2018 4:50 pm

Well, you could create a ZVOL within your pool, which OS X will see as a uninitialized volume and can then create an HFS+ filesystem on. At that point the volume is truly Time Machine compatible in every sense. You only get some of the ZFS goodness, however; the volume must be unmounted to snapshot it, for instance. But you will get some of the benefits: underlying pool redundancy can auto-correct bit rot, compression will reduce the size of data stored on disk, snapshots of the ZVOL can be replicated, etc.

I'm not sure if a standard ZFS dataset will be compatible, perhaps someone who has tried it can chime in.
Sharko
 
Posts: 63
Joined: Thu May 12, 2016 12:19 pm

Re: Any way to have ZFS backed up by Time Machine?

Postby RobRehnmark » Sun Jul 01, 2018 9:38 am

Sharko wrote:Well, you could create a ZVOL within your pool, which OS X will see as a uninitialized volume and can then create an HFS+ filesystem on.


This is what I thought too but it doesn't seem to be working! :|
All I want is the stuff you're describing. Redundancy, bit rot correction, perhaps compression but not necessary...
I want to use it for iTunes/Photos media, downloads, etc. and it seems to be working great except it's on the Excluded list in Time Machine settings.
Is it still being backed up?
(I haven't REALLY checked.)
If this is the case then I have another problem.
I can't add individual folders on that volume to the Excluded list.

The "HFS+ with journaling" volume is Trench.
Skärmavbild 2018-07-01 kl. 19.31.25.png
Skärmavbild 2018-07-01 kl. 19.31.25.png (37.07 KiB) Viewed 293 times
Super grateful to the people developing OpenZFS on OS X!
RaidZ2 working well for storing my data, OS X Server share for Time Machine, FCPX, iTunes, Photos, etc. on my Hackinstosh.
RobRehnmark
 
Posts: 55
Joined: Sat Oct 17, 2015 12:23 am

Re: Any way to have ZFS backed up by Time Machine?

Postby nodarkthings » Sun Jul 08, 2018 2:32 pm

Hi!
After various tests, a few years ago, I've found that using a .sparsebundle on a ZFS pool was the simplest solution, especially for Time Machine.
Time has proven to me that it was the good choice for my use case.
nodarkthings
 
Posts: 74
Joined: Mon Jan 26, 2015 10:32 am


Return to General Help

Who is online

Users browsing this forum: No registered users and 3 guests