this post was submitted on 22 Oct 2023
1 points (100.0% liked)

Self-Hosted Main

515 readers
1 users here now

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.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Is there anything I can selfhost that would allow me to backup my Mac-Air via time machine? I would be using a vps to host the backup. Thanks!

all 12 comments
sorted by: hot top controversial new old
[–] AffairesDePiasses@alien.top 1 points 1 year ago (1 children)

Why not just use rsync? With my experience, I'd rather go with that than any solution based on time machine, especially over Wan, as it is quite unreliable if the connection isn't perfect.

Otherwise, as long as you can mount the share as smb, you should be able to use it for time machine, so anything like freenas, truenas, unraid, open media vault should do the trick.

[–] linuxmel@alien.top 1 points 1 year ago (1 children)

Thanks for the fantastic options I never thought about. I just don't trust the USB external drive. I've had nothing but bad luck with it. Thanks again!

[–] adamshand@alien.top 1 points 1 year ago

Rsync is great, but unless you are using a system on top of rsync (eg. rsync-backup) it only gives you a single copy which isn't the best option for backups.

For example, you accidentally change a file but by the time you notice the version you want has been overwritten.

[–] vivekkhera@alien.top 1 points 1 year ago

FreeNAS can do it (either via AFS or SMB). Or you can just set up a Samba server with the right magic incantations and use that network share to do Time Machine. I use FreeNAS since I already have it on my network. I gave each Mac its own ZFS volume so I can limit the size independently.

[–] YIj54yALOJxEsY20eU@lemm.ee 1 points 1 year ago

You can also run samba in a container!

[–] LavaCreeperBOSSB@alien.top 1 points 1 year ago (1 children)

You can setup SMB and enable the Time Machine option

[–] linuxmel@alien.top 1 points 1 year ago (1 children)
[–] LavaCreeperBOSSB@alien.top 1 points 1 year ago

No problem I think they actually have an example

[–] matt827474@alien.top 1 points 1 year ago

I use TrueNAS with a SMB share that also has Cloud Sync to Backblaze B2 for offsite backup.

[–] ezkrg@alien.top 1 points 1 year ago

netatalk, which is an open-source implementation of afp. it has better performance with time machine than smb.

[–] linuxmel@alien.top 1 points 1 year ago

Nevermind I figured it out 😁