In How To: Create Apple Time Machine in Open Media Vault (OMV) we have walked-through how to create Apple Time Machine in OMV 4 with openmediavault-netatalk plugin. It’s compatible with many older and newer macOS, but it’s not possible to see or share files using that space with Microsoft Windows Operating Systems like Windows 10 etc.
From macOS Mojave 10.14 and onwards (Including macOS Catalina 10.15), Time Machine is compatible with Windows Share/Shared Folder/SMB/CIFS. (Suggested minimum SMB version V3)
This guide will not only walk you through how to create apple time machine in open media vault 5 (OMV 5) with Shared Folder/SMB Share/Windows Share/CIFS, you will also learn how to create Windows shared folder for use between Windows PC<-> Windows PC, Windows PC <-> macOS, macOS <-> macOS in OMV 5.
2.1 Make sure you have attached the physical disk to the device
2.2 Login to open media vault webui
2.3 Go to “Storage” -> “Disks”
2.4 Scan for disks if it’s not there
2.5 Go to “Storage” -> “File Systems”
2.6 Click on “Create” button to create and initialise the disk for use
2.7 Create file system, make sure you have selected correct “Device”, you can leave the “Label” empty, select default “EXT4” as “File system” if you have no idea what is this or which one to go with.
2.8 Now the new File system is created, we need to Mount it (Attach it for use). Select the File system we have just created, then click on Mount button
2.9 Click on “Apply” to commit the change
3 Create Windows Share (SMB Share/Shared Folder/CIFS) For Time Machine (and Windows) to use/share
3.1 Go to “Services” -> “SMB/CIFS”
3.2 Click on “Shares” then click on “Add”
3.3 Click on “+” button from “Shared folder” row
3.4 Give it a name, select correct device, create a path leave the permission as default, Click on “Save” button to save the settings
3.5 Make sure “Shared folder” row has right settings, Make sure “Time Machine support” is enabled, Click on “Save” button to save the settings
3.6 Click on Settings, enable SMB/CIFS service
3.7 Now you will be able to find the Time Machine folder from your “macOS” -> Top Left corner “Apple Icon” -> “System Preferences” -> “Time Machine” -> “Select Backup Disk…” (Warning: It’s a good idea to continue with Section 4 to create and use a dedicate account for accessing shared folder rather than using OMV’s administrator account for security reasons though it’s not essential for making shared folder and Time Machine working)
4 Create and configure Users if necessary
4.1 Go to “Access Rights Management” -> “User”
4.2 Click on “Add” -> “Add”
4.3 Enter Name, Password for the new user under “General” tab, make sure the user is in “users” group under “Group” tab
4.3 Now you should be able to see the new user in the list
5 Configure user permission for shared folder
5.1 Go to “Access Rights Management” -> “Shared Folders”
5.2 Click on the shared folder which we have configured in Section 3, then click on “Privileges” button, make sure give “Read/Write” access to the user we have created
6 Configure Time Machine on macOS
6.1 On macOS, go to Top Left corner “Apple Icon” -> “System Preferences” -> “Time Machine” -> “Select Backup Disk…”
6.2 Select the one we have just created under “Available Disks”, click on “Use Disk” button, it will start to backup automatically. If you want secure the backup, make sure check the “Encrypt backups” before click on “Use Disk”
6.3 If you do not like automatic backup, just uncheck “Back Up Automatically” (Check “Show Time Machine in menu bar”, it will make your manual backup easier, the time machine icon will appear at the top of the screen (Menu bar) and access able for you to manually backup)
Extra: 7 Configure disk quota (Limit Time Machine size in shared folder)
7.1 In OMV, go to “Storage” -> “File Systems”, click on the Filesystem which we have just created, click on “Quota”, set an appropriate size limit for the user we have just created for Time Machine purpose and click on “Save” button
Note: This will not only limit Time Machine backup size, it actually limits the usable size for the user/account on this filesystem which means, including time machine and windows share as well. If you only want to limit time machine size, use that account only for time machine purpose, then create another account for windows share or other purpose of file sharing.
Extra: 8 Microsoft Windows access the shared folder
8.1 Open File Explorer/This PC from Windows and enter the IP address of OMV or host name of it e.g. o-test.mynetwork then Press Enter key
8.2 Enter your credential details then click on “OK” button
8.3 Now you will see the shared folder which we have created
8.4 Double click to open the shared folder, If you have already initialized Time Machine backup, you will be able to see a folder named “YourMacName.backupbundle”
(You won’t be able to see normal file structures e.g. your photo or document on your macOS’ desktop (Since it’s just for demo purpose I did not opt-in for encrypt backup option and that’s what you will see if the time machine backup is not encrypted ))
8.5 You can also create and modify folders and files in the shared folder from Windows PC
(Note: I strongly suggest to use this shared folder only for time machine, to protect the backup files from mistakes like accidental deletion/rename etc. You can follow Section 3 and Section 4 again to create an dedicate shared folder for macOS and Windows PC to share files rather than for Time Machine to backup files and the system, the only difference will be leave the “Time Machine support” option disabled at Step 3.5)
2 When finished, the migration assistant should appear if it doesn’t, we can create a user, login then start the migration assistant manually.
3 Within the migration assistant, we can select “From a Mac, Time Machine backup, or startup disk” option, then click on continue.
4 It will allow us to enter the address of the time machine volume and it will ask us for the password, in case we have used an encrypted backup.
5 Now we can choose what to recover. (Warning: If the user we have created after the installation has the same name as the one we have used in the backup, there will be a conflict). Then we need to choose, whether we want to keep or delete the user or keep the data.
What can I do with recovery mode? What is recovery mode?
Use backup from “Time Machine” to Restore the Mac
Use “Disk Utility” from recovery mode to Scan, verify and repair the connected drives
Re-install stock version of Mac OS or Erase, Install.
Use Safari to browse the internet or diagnose connection
How to Enter Recovery Mode?
(This only works if your hard drive is not completely damaged, if it is, we need to use internet recovery mode which is the next section)
1 Make sure Mac is powered off.
2 Press the power button then immediately hold the Command ⌘ + R keys till the Apple logo appears. After awhile, the Mac OS utility window should appear, which means we have successfully entered recovery mode.
(If not, we might need to try several times to get the timing right)
How to Exit Recovery Mode?
To Exit the recovery mode, we simply just need to restart the Mac OS. If it keeps getting into recovery mode, just select the normal boot disk, we can try to restart the Mac OS again, now it should boot into normal system as expected.
How to Enter Recovery Mode over Internet connection?
If the hard drive is damaged (You might want to replace the hard drive first in this case) or volume is damaged, we need to Enter recovery mode via internet, here is how.
1 Power off the Mac
2 Press the power button then hold Command ⌘ + Option + R keys after you hear the start-up sound. Release the keys when you see the animated globe on the screen.
3 The loading speed depend on your internet connection speed, it’s a good idea to plug the power cord for your Mac.
4 When the loading is done, we should see the macOS utility window.
5 Now we have successfully entered recovery mode via internet.
How to Enter Recovery Mode with Pre-Made USB/Bootable Installer
Again, if the hard drive is damaged (You might want to replace the hard drive first in this case) or volume is damaged, we need to Enter recovery mode via internet, here is how.
3 Press the power button to power on the Mac, when you hear the startup sound, press and hold the Option key. You will see the Startup Manager. Once the Startup Manager screen appears, release the Option key. The utility will look for any available drives that include bootable content including the bootable USB
4 Now select the bootable USB to boot from it, then you should be able to see the disk utility again.
How to Restore from directly connected Time Machine
1 Power off the Mac
2 Connect your Time Machine to the Mac, power on the Mac while holding the Option key
3 Select the Recovery Drive to boot Mac then click on “Use Disk to update the system storage”
2 Install OMV Extras from here http://omv-extras.org (For OMV V4, click on here, following the http://omv-extras.org/joomla/index.php/guides (Link doesn’t work anymore) and install the plugin http://omv-extras.org/joomla/index.php/omv-plugins-4/4-stable (Link doesn’t work anymore)
3 Back to OMV, click on Plugins and install openmediavault-netatalk