Time machine network drive back up

Joined
Oct 16, 2019
Messages
1
Reaction score
0
Points
1
Hi, I'm trying to set up my imac time machine to back up to a network hard drive. I have set up SMB.
sudo tmutil setdestination /Volumes/ Dadimacbackup
After which I get the following message on terminal and the image disc does not show up on time machine.
Usage: tmutil setdestination [-a] mount_point
tmutil setdestination [-ap] afp://user[:pass]@host/share
Can someone please advise in simple terms what to do next?
Thanks
 

Raz0rEdge

Well-known member
Staff member
Moderator
Joined
Jul 17, 2009
Messages
15,771
Reaction score
2,111
Points
113
Location
MA
Your Mac's Specs
2022 Mac Studio M1 Max, 2023 M2 MBA
You can read the full documentation of the tmutil command using 'man tmutil', which is helpful in explaining what is expected and why the command you issued is failing.

The 'tmutil setdestination' command expects minimally a '-a' option before the '/Volumes/Dadimacbackup' mount mount. The -a is for "Add" to list of possible locations. Understand that external drives are automatically mounted to the /Volumes folder when connected to the iMac. Since you are using a network drive over SMB, you'll have to use the other format, so the command should be:
Code:
sudo tmutil setdestination -a smb://<username>:<password>@<host>/<folder>

If don't want to enter the password there, you can add the '-p' option and remove <password> from the command and you will be prompted for it later on.

All of this info should be available to you since you already SMB mounted the network drive.

Note that you are required to run this command with sudo before it since you need Admin privileges for the command.

If you do pass the '-p' argument, understand that you will be first prompted for your iMac password to make sudo work and prompted again for your SMB password to access that network drive.

Please post back if any of this doesn't make sense.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top