News for hackers. Stuff that matters.
Re:Making a Linux home server sleep on idle and wake on dema... by testfoobar on Wednesday April 19, 2023 @10:46AM (#35628807)
Time Machine over NAS has always been unstable for me. As you experienced, my backup would be regularly corrupted and would need to restart. Alternatively, a normal <10G backup could take in excess of 24h.

I eventually gave up on the NAS and now backup to external drives at home.

This site has excellent articles on Time Machine - scroll down to Time Machine Problems: https://eclecticlight.co/mac-troubleshooting-summary/

Re:Making a Linux home server sleep on idle and wake on dema... by jdminhbg on Wednesday April 19, 2023 @11:53AM (#35629731)
I had the exact same problem and ended up with the same solution. I know people who have had somewhat better experiences backing up to something like a Synology, but the $Xk investment wasn't worth it for me without also needing it for big file storage or media serving or whatever.
Re:Making a Linux home server sleep on idle and wake on dema... by nottorp on Wednesday April 19, 2023 @02:44PM (#35631792)
> backing up to something like a Synology

How about QNAP? I happen to have one gathering dust, if you can reliably Time Machine to it i'd plug it in.

Re:Making a Linux home server sleep on idle and wake on dema... by bobleeswagger on Wednesday April 19, 2023 @12:23PM (#35630107)
There are some quirks to setting up SMB so Time Machine is happy, but I have had great success with ZFS+SMB hosting my TM backups. Have been running for a little over a month and nothing is corrupt. Self hosting is still somewhat hard, I don't blame you for bailing on something so critical to uptime in the first place.
Re:Making a Linux home server sleep on idle and wake on dema... by MikeKusold on Wednesday April 19, 2023 @12:42PM (#35630319)
My time machine share is backed by ZFS. I have a separate dataset for each laptop, with snapshots retained for 30 days. As long as I know roughly the last time the backup worked, I can restore that snapshot so I don't need to start fresh.
Re:Making a Linux home server sleep on idle and wake on dema... by testfoobar on Wednesday April 19, 2023 @01:08PM (#35630645)
I had the same - ZFS across four drives with separate dataset and samba shares for each machine in my house. It would work and yes, I could rollback to a working snapshot. But it wasn't a set and forget system.
Re:Making a Linux home server sleep on idle and wake on dema... by cyberax on Wednesday April 19, 2023 @03:14PM (#35632106)
Time Machine has improved a lot after the switch to APFS. Mostly because it supports full snapshots, with an easy way to get the difference between two snapshots.

The previous HFS+ version relied on directory hardlinks that were notoriously buggy and easy to corrupt. The difference computation also required basically recursively walking the entire tree and comparing the directory change times, with each lookup requiring a network round-trip.