Mac – How to use the Time Machine command line interface to backup to an internal ip server

time-machine

I have a Time Machine server which uses a manually defined internal ip (not dhcp assigned.) It is using 169.254.x.x this case.

How do I use the Time Machine command line interface to configure backups?

UPDATE: The Time Machine Server is a QNAP NAS server. I make the DHCP off on my router. I am able to connect to it via 169.254.x.x to the server either.

I can't get known the Time Machine on the client site via the Time Machine client tool. So, I just wonder to use cli to connect to the Time Machine server.

I make an explanation for that.

Best Answer

To configure a client to backup to a remote server, you use the tmutil command, and the setdestination verb.

tmutil setdestination afp://user[:pass]@169.254.x.x/share

This also assumes that you have share already existing as an AFP share on your TimeMachine server.

TimeMachine from client-side doesn't really care much about the remote server, except to mount the AFP volume.