Refer to the tutorial on the Web and use disk Tools to create a “sparse Disk image” in the Shared folder, then use the command to set it to the target disk of the TimeMachine.
sudo tmutil setdestination -a /Volumes/SMBTimeMachine
But the error:
/Volumes/SMBTimeMachine: Disk does not support Time Machine backups. (error 45)
The backup destination could not be added.
For a long time, Google did not find a solution, but finally found a solution sharing method with Apple’s help, and finally solved it smoothly:
1, use the command line tool to create a “sparse binding disk image”, not “Disk Tools”, I tried using “Disk Tools” still does not work, there is no problem with the command line.
sudo hdiutil create -size 260g -type SPARSEBUNDLE -nospotlight -volname "SMBTimeMachine" -fs "Case-sensitive Journaled HFS+" -verbose /Volumes/yanghl/HaiLong_Mac_TimeMachine.sparsebundle
“SMBTimeMachine” is the label of the newly created disk image, followed by the path saved to the disk image file, “-size 260g” is the size of the disk image, these parameters can be changed.
command run output reference:
Initializing...
Creating...
DIDiskImageCreatorProbe: interface 1, score 1000, CSparseBundleDiskImage
DIDiskImageCreatorProbe: interface 2, score -1000, CSparseDiskImage
DIDiskImageCreatorProbe: interface 3, score -1000, CRawDiskImage
DIDiskImageCreatorProbe: interface 7, score -1000, CWOUDIFDiskImage
DIDiskImageCreatorProbe: interface 9, score -1000, CCFPlugInDiskImage
DIDiskImageCreateWithCFURL: CSparseBundleDiskImage
CBSDBackingStore::createProbe directory, not a valid image file.
DIBackingStoreCreatorProbe: interface 0, score -1000, CBSDBackingStore
DIBackingStoreCreatorProbe: interface 1, score 1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface 2, score 0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface 3, score 100, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface 5, score -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CBundleBackingStore
DIFileEncodingCreatorProbe: interface 2, score -1000, CEncryptedEncoding
DIBackingStoreCreatorProbe: interface 0, score 100, CBSDBackingStore
DIBackingStoreCreatorProbe: interface 1, score -1000, CBundleBackingStore
DIBackingStoreCreatorProbe: interface 2, score 0, CRAMBackingStore
DIBackingStoreCreatorProbe: interface 3, score 100, CCarbonBackingStore
DIBackingStoreCreatorProbe: interface 5, score -100, CCURLBackingStore
DIBackingStoreCreateWithCFURL: CBSDBackingStore
DIBackingStoreCreateWithCFURL: creator returned 0
DIBackingStoreCreateWithCFURL: creator returned 0
DIDiskImageCreateWithCFURL: creator returned 0
DI_kextWaitQuiet: about to call IOServiceWaitQuiet...
DI_kextWaitQuiet: IOServiceWaitQuiet took 0.000007 seconds
Formatting...
near completion...
created: /Volumes/yanghl/HaiLong_Mac_TimeMachine.sparsebundle
hdiutil: create: returning 0
2. When finished, find the disk image file in the Finder and double-click to load it. Then use the command:
sudo tmutil setdestination -a /Volumes/SMBTimeMachine/
3. The command was successfully executed without any output. Go to system Settings -& GT; “TimeMachine”, you can see that “SMBTimeMachine” has been set as the target disk.
This should allow the TimeMachine to proceed normally.
Note: It is currently found that this method must be backed up all at once. If the backup is interrupted, the SparseBundle disk image, once unmounted, can no longer be loaded because the file is incomplete and cannot be reloaded without a backup
The article published at the same time in my Jane books: https://www.jianshu.com/p/9f56587af82c
Read More:
- Openstack virtual machine disk IO error [How to Solve]
- Error: Your CLT does not support macOS 11.6 [How to Solve]
- Win7 Install .NET Extracting Files: There is not enough disk space……
- [Solved] (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk.
- [Solved] Conversion not supported for type java.time.LocalDateTime
- [Solved] IDEA Start Project Error: Abnormal build process termination:Could not create the Java Virtual Machine.
- How to Solve “Status bar could not find cached time string image. Rendering in-process.” in Xcode
- [Solved] Unexpected error while saving file: xxx.ipynb database or disk is full
- How to Solve ASM disk creation error
- Exsi virtual machine is missing vmdk file error [How to Solve]
- PLSQL even oracle11g problem on 64-bit machine: SQL*Net not properly installed and ORA-12154:TNS: cannot handle service name
- [Solved] Vscode connect virtual machine error: can’t be established
- Run-time error “70“:Permission denied [How to Solve]
- Docker Open Error: Warning: docker.service changed on disk. Run ‘systemctl daemon-reload‘ to reload unit
- How to Solve VMware Workstation Error: This virtual machine appears to be in use.
- Solve the problem that the native machine cannot use ant script checkout project
- Mac office Run-time error ‘53 [How to Solve]
- Uniapp: TypeError: Cannot read property ‘apply‘ of undefined (H5 does not report an error, but the real machine runs with an error)
- VScode Error: extension failed XHR Failed (Ubuntu Virtual Machine)
- [Solved] Pytorch Error: RuntimeError: Trying to backward through the graph a second time