Because of performance and stability. Apple has deprecated AFP and they only support Samba now as the network protocol for Time Machine.
AFP still works, but it is not maintained and it will probably stop working in future versions of OSX.
Also, we could see amazing performance improvements in some scenarios (like using Wi-Fi conections for backup).
No.
The disk format is still the same, so only the transfer protocol will change. Time Machine will recognise the old backup and will continue using it.
-
First of all, check that your backups are inside your host machine using a volume.
That means, check that you can find your backup folder in your disk and that there are contents inside. If you followed the instructions of the README, the data should be there.
-
Stop all Time Machine process in your Macs. To do that, enter on
Preferences > Time Machine
and check that there is no backup in progress. -
Stop current timemachine container and remove it:
$ docker stop timemachine $ docker rm timemachine
-
Remove local image:
$ docker rmi odarriba/timemachine
-
Follow current version instructions to start the new container. Check that:
- you use the same data directory as before
- you create the same users as before (with same UID and GID if you specified them)
Note The ENV vars have changed, and now all
AFP_
areSMB_
. if you use them in a docker compose file, you should update them. -
in all your macs, connect again to the server:
- Connect to your server as explained in the README, using
smb://
instead ofafp://
. - Go to
Preferences > Time Machine
and click onSelect disk
. - Select your new server
- Time Machine will ask to use the previous backup (if you keeped it) and will ask for it's password if it was encrypted.
- Connect to your server as explained in the README, using