Better later than never, here is a hack to achieve this :

sudo ifconfig lo0 alias 127.0.0.2/32

Plug your usb drive, then via System Preferences / Sharing add a smb share to a folder time-machine-macbook in the drive time-machine-usb Then, add a destination backup (Time Machine will see it as a network share)

sudo tmutil setdestination -a "smb://user:[email protected]/time-machine-macbook"

You can see if it's ok with:

tmutil  destinationinfo
> ==================================================
Name          : time-machine4
Kind          : Network
URL           : smb://kenji@realserver._smb._tcp.local./time-machine
ID            : D820D053-C74A-4A06-A7E1-E60C8EA7934F
====================================================
Name          : time-machine-macbook
Kind          : Network
URL           : smb://[email protected]/time-machine-macbook
Mount Point   : /Volumes/time-machine-macbook
ID            : F707BD0B-64DF-4DB6-A3B7-824470FB5EB2

Then start a backup with tmutil startbackup and mount will show:

/dev/disk3s1 on /Volumes/time-machine-usb (apfs, local, nodev, nosuid, journaled, noowners)
//[email protected]/time-machine-macbook on /Volumes/time-machine-macbook (smbfs, nobrowse)

You can see detailed progress with tmutil status:

Backup session status:
{
    BackupPhase = Copying;
    ClientID = "com.apple.backupd";
    DateOfStateChange = "2018-06-28 17:38:21 +0000";
    DestinationID = "F707BD0B-57DC-4DB6-A3B7-824470FB5EB2";
    DestinationMountPoint = "/Volumes/Time Machine Backups";
    FirstBackup = 1;
    Percent = "0.08711567546702646";
    Progress =     {
        TimeRemaining = 32679;
        "_raw_totalBytes" = 355694600192;
        bytes = 34429528173;
        files = 887351;
        totalBytes = 391264060211;
        totalFiles = 2922384;
    };
    Running = 1;
    Stopping = 0;
    "_raw_Percent" = "0.09679519496336274";
}

In my case, near 1000000 files were done in about two hours (USB2 disk penalty, versus more than 8 hours via Wi-Fi), I calculate percentages with a small script:

tm-progress.sh
Files : 918702 / 2922384 (31.43%) - Bytes : 32.21 GiB / 364.39 GiB (8.84%)

We can here that many files can make Time Machine to progress "slowly" in Bytes, but nearly 1/3 of files have been copied.

Next step, when backup is finished, plug the usb drive to your realserver and copy the sparsebundle over the "uncompleted one" (or in the shared folder). Of course, Time Machine should be disabled during this step to prevent mounting a partially copied sparsebundle (and maybe corrupting it)

I have used an apfs drive to benefit of snapshots (to be able to revert to a previous "backupdb" in case of sparsebundle corruption, not tested yet)

Edit: even faster mode :


Once the backup has reached BackupPhase = Copying to make it faster you can make the backupbundle mount directly (without sending every operation through smb) by canceling the backup, renaming My-Computer.backupbundle to something like 1My-Computer.backupbundle, and creating a symbolic link :

ln -s /Volumes/time-machine-usb/1My-Computer.backupbundle /Volumes/time-machine-macbook/My-Computer.backupbundle

This tricks timemachine into following the link to the backupbundle localy, and not mount it through smb, which speeds up the backup. Make sure you move the backupbundle back when you have finished your local backup.


Answer from ıɾuǝʞ on Stack Exchange
🌐
Apple Support
support.apple.com › guide › mac-help › back-up-to-a-shared-folder-mchl31533145 › mac
Back up to a shared folder with Time Machine on Mac - Apple Support
You can share a folder on a Mac that other Mac computers on your network can use as a destination for Time Machine backups.
Discussions

Time Machine Backups to external drive over network
Until I have the time to buy and figure out using a NAS, I'm going to try to connect an external WD Red HD (in a 3rd party enclosure) to my iMac running OS 11.6 and share the drive to do Time Machine backups for a MacBook and MacBook Air (also running OS 11.6) over my Orbi wireless network. More on discussions.apple.com
🌐 discussions.apple.com
macos - Can I use Time Machine to back up data to a Windows shared drive? - Ask Different
Time Machine will then create a ... entire drive is that you can limit the size it will grow to of the disk image using Disk Utility. Be sure to check Louis Gerbarg's answer as well for why it's unsupported and you have to jump through a hoop to enable it. ... There are various hacks to setup a diskimage on the share, which I am sure other people will describe in depth. Having said that DO NOT USE SMB TO STORE TIME MACHINE BACKUPS. Guaranteeing writes on a disk image backed over a network store is ... More on apple.stackexchange.com
🌐 apple.stackexchange.com
Time Machine back up
I have a Mac Mini with a big external disk in my house that all work MacBooks back up to over wifi. I have just turned on Time Machine Sharing in the Sharing System Preferences More on reddit.com
🌐 r/MacOS
17
3
February 28, 2024
Is possible to have a Time Machine disk over the home network?
Yes, if you a NAS or Mac mini More on reddit.com
🌐 r/MacOS
16
2
January 5, 2025
🌐
Apple Support
support.apple.com › en-us › 102423
Backup disks you can use with Time Machine - Apple Support
1 week ago - Time Machine can back up to a third-party NAS device that supports Time Machine over the SMB network protocol. Check the documentation of your NAS device for help setting it up for use with Time Machine. Compatibility: Time Machine backup to NAS devices over Apple Filing Protocol (AFP) is not ...
🌐
Macworld
macworld.com › home › software › how-to
How to set up networked Time Machine backups for a household | Macworld
February 16, 2024 - Apple’s Time Capsule base station put a Wi-Fi access point, a network router, and a backup drive that tied into Time Machine all in a single box. That was its downfall, too: if the drive failed or became corrupted, you had relatively few options.
🌐
iBoysoft
iboysoft.com › home › how to tips › how to set up time machine backup to nas (no external drive)
How to Set Up Time Machine Backup to NAS (No External Drive)
November 27, 2025 - QHow to use Time Machine on Mac without external hard drive? ... You need to back up your Mac to a network drive or a network-attached storage device. 1. Complete the NAS or network drive setup and create a shared folder.
Top answer
1 of 4
7

Better later than never, here is a hack to achieve this :

sudo ifconfig lo0 alias 127.0.0.2/32

Plug your usb drive, then via System Preferences / Sharing add a smb share to a folder time-machine-macbook in the drive time-machine-usb Then, add a destination backup (Time Machine will see it as a network share)

sudo tmutil setdestination -a "smb://user:[email protected]/time-machine-macbook"

You can see if it's ok with:

tmutil  destinationinfo
> ==================================================
Name          : time-machine4
Kind          : Network
URL           : smb://kenji@realserver._smb._tcp.local./time-machine
ID            : D820D053-C74A-4A06-A7E1-E60C8EA7934F
====================================================
Name          : time-machine-macbook
Kind          : Network
URL           : smb://[email protected]/time-machine-macbook
Mount Point   : /Volumes/time-machine-macbook
ID            : F707BD0B-64DF-4DB6-A3B7-824470FB5EB2

Then start a backup with tmutil startbackup and mount will show:

/dev/disk3s1 on /Volumes/time-machine-usb (apfs, local, nodev, nosuid, journaled, noowners)
//[email protected]/time-machine-macbook on /Volumes/time-machine-macbook (smbfs, nobrowse)

You can see detailed progress with tmutil status:

Backup session status:
{
    BackupPhase = Copying;
    ClientID = "com.apple.backupd";
    DateOfStateChange = "2018-06-28 17:38:21 +0000";
    DestinationID = "F707BD0B-57DC-4DB6-A3B7-824470FB5EB2";
    DestinationMountPoint = "/Volumes/Time Machine Backups";
    FirstBackup = 1;
    Percent = "0.08711567546702646";
    Progress =     {
        TimeRemaining = 32679;
        "_raw_totalBytes" = 355694600192;
        bytes = 34429528173;
        files = 887351;
        totalBytes = 391264060211;
        totalFiles = 2922384;
    };
    Running = 1;
    Stopping = 0;
    "_raw_Percent" = "0.09679519496336274";
}

In my case, near 1000000 files were done in about two hours (USB2 disk penalty, versus more than 8 hours via Wi-Fi), I calculate percentages with a small script:

tm-progress.sh
Files : 918702 / 2922384 (31.43%) - Bytes : 32.21 GiB / 364.39 GiB (8.84%)

We can here that many files can make Time Machine to progress "slowly" in Bytes, but nearly 1/3 of files have been copied.

Next step, when backup is finished, plug the usb drive to your realserver and copy the sparsebundle over the "uncompleted one" (or in the shared folder). Of course, Time Machine should be disabled during this step to prevent mounting a partially copied sparsebundle (and maybe corrupting it)

I have used an apfs drive to benefit of snapshots (to be able to revert to a previous "backupdb" in case of sparsebundle corruption, not tested yet)

Edit: even faster mode :


Once the backup has reached BackupPhase = Copying to make it faster you can make the backupbundle mount directly (without sending every operation through smb) by canceling the backup, renaming My-Computer.backupbundle to something like 1My-Computer.backupbundle, and creating a symbolic link :

ln -s /Volumes/time-machine-usb/1My-Computer.backupbundle /Volumes/time-machine-macbook/My-Computer.backupbundle

This tricks timemachine into following the link to the backupbundle localy, and not mount it through smb, which speeds up the backup. Make sure you move the backupbundle back when you have finished your local backup.


2 of 4
3

See my other answer first which is a lot simpler!!

This is Kenji's answer ("ıɾuǝʞ" above), reworked painfully and explained by a complete noob (myself) for other complete noobs. I also added an important workaround in the last step:

Better later than never, here is a hack to achieve this:

  1. Open Terminal.app and enter the following command:

    sudo ifconfig lo0 alias 127.0.0.2/32
    
  2. Plug in your usb drive

  3. Go to System Preferences / Sharing
  4. Open the lock in the bottom-left corner

    (Whenever asked for your password, go ahead and enter it)

  5. Tick "File Sharing" on the left pane.

  6. Tick Options button and activate both SMB and AFP
  7. Click the + sign in the middle pane (titled "Shared Folders") and locate your USB drive. Create a folder (e.g. "time-machine-macbook") and select it to create the shared folder.
  8. Then, add a destination backup (Time Machine will see it as a network share), using the following command in Terminal.app:

    sudo tmutil setdestination -a "smb://user:[email protected]/time-machine-macbook"
    

    (If you get an error that Terminal needs more access rights to your disk, then go ahead and follow the instructions of the error message to give such rights and repeat this step.)

    You can check if it's ok with the following Terminal command:

    tmutil  destinationinfo
    

    And you will get the following reply on your Terminal window:

    ==================================================
    Name          : time-machine4
    Kind          : Network
    URL           : smb://kenji@realserver._smb._tcp.local./time-machine
    ID            : D820D053-C74A-4A06-A7E1-E60C8EA7934F
    ====================================================
    Name          : time-machine-macbook
    Kind          : Network
    URL           : smb://[email protected]/time-machine-macbook
    Mount Point   : /Volumes/time-machine-macbook
    ID            : F707BD0B-64DF-4DB6-A3B7-824470FB5EB2
    
  9. Then start a backup with Terminal command:

    tmutil startbackup
    
  10. Terminal command mount will show (among others) something like:

    /dev/disk3s1 on /Volumes/time-machine-usb (apfs, local, nodev, nosuid, journaled, noowners)
    //[email protected]/time-machine-macbook on /Volumes/time-machine-macbook (smbfs, nobrowse)`
    
  11. You can see detailed progress with Terminal command:

    tmutil status
    

    Where you'll get something like:

    Backup session status:
    {
        BackupPhase = Copying;
        ClientID = "com.apple.backupd";
        DateOfStateChange = "2018-06-28 17:38:21 +0000";
        DestinationID = "F707BD0B-57DC-4DB6-A3B7-824470FB5EB2";
        DestinationMountPoint = "/Volumes/Time Machine Backups";
        FirstBackup = 1;
        Percent = "0.08711567546702646";
        Progress =     {
            TimeRemaining = 32679;
            "_raw_totalBytes" = 355694600192;
            bytes = 34429528173;
            files = 887351;
            totalBytes = 391264060211;
            totalFiles = 2922384;
        };
        Running = 1;
        Stopping = 0;
        "_raw_Percent" = "0.09679519496336274";
    }
    

    Of course you can also have a rough idea of the progress by opening Time Machine where you will get the total MB copied as well as a calculation of the time remaining.

    In Kenji's case, near 1000000 files were done in about two hours (USB2 disk), versus more than 8 hours necessary via Wi-Fi. My results were quite faster with a USB3 disk. In 2h I had backed-up more than 500MB.

  12. Next step, when backup is finished, plug the usb drive to your realserver and copy the sparsebundle over the "uncompleted one" (or in the shared folder). Of course, Time Machine should be disabled during this step to prevent mounting a partially copied sparsebundle (and maybe corrupting it). I have used an apfs drive to benefit of snapshots (to be able to revert to a previous "backupdb" in case of sparsebundle corruption, not tested yet)

  13. If #12 above doesn't work and Time Machine cannot backup TO the really-networked drive (but may possibly be able to read it), then the workaround is to copy the backup bundle inside a new sparsebundle! Awkwardly, Time Machine can use networked sparsebundles as backup destinations (but not it's own backupbundle!).

  14. Have your drive connected via USB (for speed) and use Disk Utility to create inside it a sparsebundle with the necessary size to fit all your backup. This might take a few hours depending on the size and speed, so choose to do it overnight. If you don't have enough drive space, then unfortunately you should remove your previously created backup and re-create it later on from the beginning inside the new sparsebundle.

  15. To create the new spasebundle, open Disk Utility, click File/New Image/Blank Image and in the pop-up window add a filename (e.g. BackupBundle.dmg), no tags, choose to be inside your USB drive root, choose a volume name (e.g. BackupBundle), size larger than your HD size, format definitely Mac OS Extended (Journaled), no encryption, Single partition - Apple Partition Map, and finally sparse bundle disk image. Check again your selected size (sometimes it gets back to default) and hit save.

  16. Hours later, when it's over, you may test your new sparsebundle over the network. Connect your drive to your router, open Finder, and double click your BackupBundle.sparsebundle. You should see a new disk on the sidebar and on your desktop called BackupBundle. Then open Terminal and see if the sparsebundle can be added as a backup destination. If not, then you can set it manually via Terminal.app:

    sudo tmutil setdestination -a  "/Volumes/BackupBundle"
    
  17. After all this, you can copy Time Machine's backupbundle inside your BackupBundle.sparsebundle. This will also take hours, so you may want to do it the next night. Alternatively, if you didn't have room in steps 14-15 and you had to delete it, you can set Time Machine to use it as backup destination when connected via USB and then again after the first full backup is completed to select the same destination via network.

Good luck!

🌐
Justinjbird
justinjbird.com › home › blog › using a network drive as a time machine backup drive
Using a network drive as a Time Machine backup drive
November 6, 2025 - I have a server that runs Unraid for home media content, it is capable of hosting a Time Machine service to back up your Macs to a central network location.
Find elsewhere
🌐
MakeUseOf
makeuseof.com › home › apple › turn your nas or windows share into a time machine backup
Turn Your NAS Or Windows Share Into A Time Machine Backup
February 26, 2015 - Create a sparse image – a virtual drive that Time Machine will see as a valid backup disk. Copy the sparsebundle to your network drive, then mount it.
🌐
Michael Tsai
mjtsai.com › blog › 2022 › 02 › 21 › network-time-machine-backups
Michael Tsai - Blog - Network Time Machine Backups
February 21, 2022 - It seems like the easiest way is to use Share as a Time Machine backup destination with an old Mac. ... Say you have a Mac mini on your network, and a MacBook Pro. You can hook up an external drive to that Mac mini, and within a few minutes, be backing your MacBook Pro up across your network ...
🌐
Mac Insights
ericfromcanada.github.io › output › 2021 › migrating-time-machine-backups-to-network.html
Migrating Time Machine backups from local disk to network | Mac Insights
December 30, 2021 - Backups made by Time Machine to a local disk are simply stored in a Backups.backupdb folder on the disk, while backups to a network drive are stored in said folder within a sparsebundle disk image, since Time Machine relies on specific features ...
🌐
Macworld
macworld.com › home › software › how-to
How to format a drive for networked Time Machine access | Macworld
April 26, 2021 - But Apple omitted a big footnote that should be in its documentation: An APFS-formatted volume can’t be used for networked Time Machine backups. Time Machine can work by backing up to a drive attached directly to a Mac.
🌐
Lifehacker
lifehacker.com › home
How to Set Up Time Machine to Back Up to a Networked Windows Computer | Lifehacker
June 9, 2025 - On my Windows computer, the shared folder is at E:\Time Machine. Once it's created, you need to mount the folder from your Mac. To do this, open Finder, type Cmd+K, and enter the smb:// address to your Windows shared folder.
🌐
iMore
imore.com › macs
How to use Time Machine to back up your Mac to a Windows shared folder | iMore
August 28, 2020 - However, not everyone will be able or is willing to use a spare Mac as a backup location or attach yet another external drive or even buy an expensive Time Machine capable NAS. Other hacked solutions do exist that allow you to use any networked location — including a Windows shared folder.
🌐
NordVPN Meshnet
meshnet.nordvpn.com › how-to › remote-access › macos-time-machine-backups
How to make secure macOS Time Machine backups from anywhere | Meshnet docs
Select Share as a Time Machine backup destination, and then click OK. Once you’ve set up your remote folder, you can access it as a network drive using Meshnet.
🌐
How-To Geek
howtogeek.com › home › features › how to perform time machine backups over the network
How to Perform Time Machine Backups Over the Network
May 5, 2015 - Select the network drive and Time Machine will try to back up to it. Warning: Don't do this! Any problems could result in the corruption of your backups.
🌐
Apple Community
discussions.apple.com › thread › 253210677
Time Machine Backups to external drive over network
2) If I'm starting over, should ... turned on, even if it's asleep overnight? Thanks for any help. ... Sorry but no.. Time Machine uses a different backup method (to Sparsebundle) over network.....
Top answer
1 of 5
6

In order to create a Time Machine backup to an unsupported drive (pretty much anything that's not formatted HFS+) you need to run the following Terminal command:

defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1

Your share will now show up as a valid Time Machine destination in the Time Machine Preference Pane.

Time Machine will then create a disk image on that drive that will act just like a HFS+ drive for Time Machines purposes (hard linking, etc.). One advantage of using a disk image over using the entire drive is that you can limit the size it will grow to of the disk image using Disk Utility.

Be sure to check Louis Gerbarg's answer as well for why it's unsupported and you have to jump through a hoop to enable it.

2 of 5
6

There are various hacks to setup a diskimage on the share, which I am sure other people will describe in depth. Having said that DO NOT USE SMB TO STORE TIME MACHINE BACKUPS.

Guaranteeing writes on a disk image backed over a network store is complicated. Apple had reliability issues with Time Machine over AFP for years, and they controlled the entire stack. In order to guarantee write ordering and write stability (which are necessary in order for Time Machine to work in the presence of intermittent networking, such as walking out or range of the base station or putting the machine to sleep midbackup and waking it up out of range) Time Machine depends on features specific to AFP (For those interested, those are published as part of the Time Machine Network Server Requirements).

If you want to backup to a Windows Machine you should probably get a copy of ExtremeZ-IP, if it is a linux box running SAMBA you should install netatalk.

🌐
Artembutusov
artembutusov.com › time-machine-backup-disk-migration-to-network-drive
Time Machine backup disk migration to network drive – Artem Butusov Blog
Open your target Time Machine volume and open target sparse bundle on it to mount it (the one that was previously created). Now you should have both source disk and target sparse bundle mounted and you can copy the contents between them. If you can connect your Mac over the wire or if your ...
🌐
Macworld
macworld.com › home
When backups go bad: The problem with using network drives with Time Machine | Macworld
February 17, 2017 - With the former, you can either keep a drive connected to your Mac (which is easy if you have a desktop Mac) or connect it from time to time (if you have a laptop) so Time Machine can automatically make copies of your files. If you’d rather not connect a drive, you can use a network drive: Apple’s now-discontinued Time Capsule; a USB drive connected to an also discontinued AirPort Extreme; or some network-attached storage devices that support this feature. Backups to an external drive just copy files—and hard links, pointers to files that haven’t changed—in a more or less normal way, in a directory structure that mirrors that of your Mac’s drive.