Robocopy issues with symbolic links and output log file

Solution 1:

Can I output skipped files and folders only to a log file?

This is not possible.

Can I copy offline files, symbolic links and directories?

Use the /sl option - Copy file symbolic links instead of the target.

sl Will copy symbolic links, this will copy a File Symbolic Link only, creating a new symbolic link at the destination.

For a Directory Symbolic Link, a Junction, or a Hard Link, RoboCopy will follow the source and copy the contents to a standard folder in the destination. For a backup program this is usually the desired behaviour.

Notes:

  • You can't copy offline files.

  • You also can't files that are in use, so that is something else for you to consider.

    Robocopy will fail to copy files that are locked by other users or applications, so limiting the number of retries with /R:0 will speed up copying by skipping any in-use files. The Windows Volume Shadow Copy service is the only Windows subsystem that can copy open files.

Source Robocopy "Robust File Copy" - Windows CMD - SS64.com