× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Sierra: Timemachine backup routinely

mopar69
Star

Sierra: Timemachine backup routinely

Enabled Timemachine backups on ReadyNAS102 and created "user" for Mac to use in creating to ReadyNAS backups. Timemachine will create backups for a few days them it will report that it must create a new backup. Looking for solutions to this issue. Thanks in advance!

Message 1 of 5
joey123
Tutor

Re: Sierra: Timemachine backup routinely

 

This happens on basically every version of OS X, and anything that is network attached. The issue is basically that any interruption of network connection will potentially cause minor data corruption in the backup. OSX then detects the corruption, and starts a whole new backup. 

 

There is no good solution to this, but here's a "bad" solution that seems to work. 

 

1) Create a sparse bundle on your BTRFS protected volume using diskutil, make it large, but not excessively large. Something like 3x the size of your Mac's hard drive is fine, but keep it significantly smaller than the free space on the readyNAS.

 

2) Mount the disk by double clicking it, rename if you want. 

 

3) From the terminal run: sudo tmutil setdestination /Volumes/<name of your volume>

 

4) Now let time machine run a complete backup. 

 

5) Make sure snapshots are on for your BTRFS volume

 

Now, this doesn't solve the problem, but by placing the sparse image in a place where it will be snapshotted, should the problem recur, you can always just copy the version from the last good snapshot (essentially resetting it to a day or so ago, before the problem), and continue from there. 

 

You need to use the terminal because time machine doesn't let you back up to a disk image like thiis natively, so you have to force it. But that being said, it does work. 

 

Netgear could help solve this whole problem by adding snapshots to the volume where they store the default time machine backups, and allowing (maybe a button?) people to pull a time machine from the snapshots if needed. Until then, you'll need to do this yourself. 

 

This approach is better than using the default time machine setup anyway, as it will also enable bitrot protection, so you'll be protected against all manner of silent data corruption. 

Message 2 of 5
joey123
Tutor

Re: Sierra: Timemachine backup routinely

 

This happens on basically every version of OS X, and anything that is network attached. The issue is basically that any interruption of network connection will potentially cause minor data corruption in the backup. OSX then detects the corruption, and starts a whole new backup. 

 

There is no good solution to this, but here's a "bad" solution that seems to work. 

 

1) Create a sparse bundle on your BTRFS protected volume using diskutil, make it large, but not excessively large. Something like 3x the size of your Mac's hard drive is fine, but keep it significantly smaller than the free space on the readyNAS.

 

2) Mount the disk by double clicking it, rename if you want. 

 

3) From the terminal run: sudo tmutil setdestination /Volumes/<name of your volume>

 

4) Now let time machine run a complete backup. 

 

5) Make sure snapshots are on for your BTRFS volume

 

Now, this doesn't solve the problem, but by placing the sparse image in a place where it will be snapshotted, should the problem recur, you can always just copy the version from the last good snapshot (essentially resetting it to a day or so ago, before the problem), and continue from there. 

 

You need to use the terminal because time machine doesn't let you back up to a disk image like thiis natively, so you have to force it. But that being said, it does work. 

 

Netgear could help solve this whole problem by adding snapshots to the volume where they store the default time machine backups, and allowing (maybe a button?) people to pull a time machine from the snapshots if needed. Until then, you'll need to do this yourself. 

 

This approach is better than using the default time machine setup anyway, as it will also enable bitrot protection, so you'll be protected against all manner of silent data corruption. 

Model: RN104|ReadyNAS 100 Series
Message 3 of 5
mdgm-ntgr
NETGEAR Employee Retired

Re: Sierra: Timemachine backup routinely

Using bit-rot protection and snapshots with Time Machine would have a performance impact that increases over time one would think.

Message 4 of 5
joey123
Tutor

Re: Sierra: Timemachine backup routinely

 

Yes, this is true, however....

 

1) Nobody cares about the performance of time machine. So long as it completes ever, that's fine. 

 

2) This approach actually works, the current approach without snapshots causes people to routinely lose their time machine backups. 

 

3) Running without bitrot protection, what's really the point of having a backup anyway if you don't know that the data in it is correct? Again, see point (1), the set of users who actually care exactly how long it takes their computer to do the time machine backup is probably the empty set. 

Message 5 of 5
Top Contributors
Discussion stats
  • 4 replies
  • 2223 views
  • 0 kudos
  • 3 in conversation
Announcements