Transfer data from MacOS NTFS
Mac does not support write operation to NTFS (thanks Apple). You need a third party driver for this. There is paid and open source alternatives. You can compare them here. I chose ntfs-3g.
Installing ntfs-3g
Always consult the product page: https://github.com/osxfuse/osxfuse. Basically:
- Install brew.sh
- Install ntfs-3g.
brew install ntfs-3g
Mount NTFS Drives with write permission
Now you can mount your drivers. You need to know the device name.
- Open Disk Utility from Spotlight Search.
- Click on your device
- Note
Device
field from the table. It should be something likedisk2s1
. - Unmount the device.
- Go to terminal
- Create any folder.
sudo mkdir /Volumes/NTFS
- Mount it.
sudo ntfs-3g /dev/disk2s1 /Volumes/NTFS
- Test if you can write it.
touch /Volumes/NTFS/test
Change energy options
Your mac will go to sleep after a while and you do not want that. Copying large files can take hours and distrupted copying will result in partial and corrupt files.
- Go to System Preferences
- Energy Saver
- Enable
Prevent computer from sleeping automatically when the display is off
.
Determine your backup
This is crucial. Backing up is not as easy as drag and drop. You may end up with partial and corrupt files. Nobody wants that. First rule of thumb:
When you have many files, it is better to create tarballs to reduce number of files and create md5 sums.
This advice however duplicates file size. If you have thight space on your Mac, then consider dividing the data.
- Create a tarball
tar cf backup.tar ~/backup
- Create md5sum
md5 ~/backup.tar > ~/backup.md5sum
Copy your files
You can either use drag and drop or comman line.
cp backup.tar /Volumes/NTFS/
Verify integrity
You should verify data integrity of your backup on the HDD.
- Create md5sum of the copied data.
md5 /Volumes/NTFS/backup.tar > /Volumes/NTFS/backup.md5sum
- Compare it with existing md5.
diff ~/backup.md5sum /Volumes/NTFS/backup.md5sum
Conclusion
This process takes hours. Make sure to give it enough time.
Comments