Zend certified PHP/Magento developer

Have to backup directories with symlinks to exfat – what to do?

The exFAT filesystem does not support symlinks.

I’m now faced with the need to backup some directories, which do have symlinks, into an exFAT-formatted drive. For reasons, I cannot change the filesystem type.

I could create a tar or similar archive of all the files, and copy that to the drive, but that means access to individual files or directories will be slow, and “entangle” them in case of some kind of corruption.

What other alternatives do I have for making this kind of backup?

Notes:

  • I use Devuan GNU/Linux, although I’m more interested in platform-inspecific answers.
  • I’m not asking for a recommendation of an app or a utility. If you know of an interesting one, write about how it solves this problem.