бекапить мак

Эпл Бекапы по WiFi. eltechs.com/raspberry-pi-nas-guide/ + habr.com/post/149916/

rpi timecapsule: https://www.calebwoods.com/2015/04/06/diy-time-capsule-raspberry-pi/

https://geektimes.ru/post/257780/

https://www.raspberrypi.org/forums/viewtopic.php?t=47029

nas-samba: https://github.com/KartoffelToby/docker-nas-samba

install docker

mac timemaschine nettalk: https://github.com/odarriba/docker-timemachine/blob/master/Dockerfile

borg для бекапов: https://habr.com/ru/company/flant/blog/420055/

еще для бекапов: acronis, bacula

LXC или Docker для изоляции, развёртывания бекапов

sudo apt-get install hfsplus hfsutils hfsprogs
sudo mkdir /mnt/timemachine

# remove/create a partition
# fdisk howto: <https://www.tldp.org/HOWTO/Partition/fdisk_partitioning.html>
sudo fdisk /dev/sda

sudo mkfs.hfsplus ...
blkid # найти partuuid
# add to /etc/fstab:
/dev/disk/by-partuuid/be54d979-02 /mnt/timemachine hfsplus rw,force,exec,auto,users 0 2

sudo mount -a # check fstab before reboot

# install docker (see link above)

docker run -h timemachine --name timemachine --restart=always -d -v /mnt/timemachine:/timemachine -it -p 548:548 -p 636:636 odarriba/timemachine-rpi
docker exec timemachine add-account pi raspberry timemachine  /mnt/timemachine 524288