ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unsolved Windows 10 Junction on UNC path

    IT Discussion
    crashplan pro symlink windows 10
    7
    16
    8.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by JaredBusch

      I had this setup years ago on a machine, and it has been working fine since.

      Machine died and was replaced.

      Now I cannot get anything to work like I used to do it.

      Goal: C:\Backup as a Junction or HardLink to \\server01\Share\Subfolder
      Reason: So Crashplan Pro can backup the files.

      This is a tertiary backup, so not critical, but it is a small subset for fastest restore in case of site fully dead, until the full VM's can be pulled back from B2.

      I can easily make a symlink mklink /D C:\Backup \\server01\Share\Subfolder. But Crashplan will not see the folder as it does not follow soft symlinks. It shows it as a 0 byte file.

      1 Reply Last reply Reply Quote 0
      • JaredBuschJ
        JaredBusch
        last edited by

        When trying to use a /J I get this error.

        C:\>mklink /J C:\Backup \\server01\share\Backup
        Local volumes are required to complete the operation.
        
        black3dynamiteB 1 Reply Last reply Reply Quote 0
        • black3dynamiteB
          black3dynamite @JaredBusch
          last edited by

          @JaredBusch said in Windows 10 Junciton on UNC path:

          When trying to use a /J I get this error.

          C:\>mklink /J C:\Backup \\server01\share\Backup
          Local volumes are required to complete the operation.
          

          Map \\server01\share\Backup to a Z: and then mklink /J C:\Backup Z:\Backup?

          JaredBuschJ 1 Reply Last reply Reply Quote 2
          • JaredBuschJ
            JaredBusch @black3dynamite
            last edited by

            @black3dynamite said in Windows 10 Junction on UNC path:

            @JaredBusch said in Windows 10 Junciton on UNC path:

            When trying to use a /J I get this error.

            C:\>mklink /J C:\Backup \\server01\share\Backup
            Local volumes are required to complete the operation.
            

            Map \\server01\share\Backup to a Z: and then mklink /J C:\Backup Z:\Backup?

            Same
            5654b855-b931-4e4d-b17f-f6d90229e1a1-image.png
            18e15627-a284-4fdc-a8a4-2c88693e0433-image.png

            1 Reply Last reply Reply Quote 0
            • S
              scotth
              last edited by

              If you're trying to link a path to a drive, I think that subst might work or even psubst. I haven't used it in years.

              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @scotth
                last edited by

                @scotth said in Windows 10 Junction on UNC path:

                If you're trying to link a path to a drive, I think that subst might work or even psubst. I haven't used it in years.

                I know for a fact that I used mklink years ago when I set this up. Just apparently, I did something else also.

                1 Reply Last reply Reply Quote 0
                • black3dynamiteB
                  black3dynamite
                  last edited by

                  Already tried mklink /h?

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @black3dynamite
                    last edited by

                    @black3dynamite said in Windows 10 Junction on UNC path:

                    Already tried mklink /h?

                    That results in: Local NTFS volumes are required to complete the operation.

                    Using UNC or mapped drive letter.

                    Found an old post on here, and I used /D in that example.

                    1 Reply Last reply Reply Quote 0
                    • JaredBuschJ
                      JaredBusch
                      last edited by JaredBusch

                      When using /D, Windows works as expected, but Crashplan shows it as a 0 byte file.

                      afd35743-715d-4917-a54f-17856393245c-image.png

                      1 Reply Last reply Reply Quote 0
                      • J
                        JasGot
                        last edited by JasGot

                        My hunch is that your symlinks are not fully enabled.

                        Run this on the both sides (your computer running crashplan, and also the server you want your backups to reside on)

                        fsutil behavior query SymlinkEvaluation
                        

                        You will likely find this:
                        Local to local symbolic links are enabled.
                        Local to remote symbolic links are enabled.
                        Remote to local symbolic links are disabled.
                        Remote to remote symbolic links are disabled.

                        The "remote to" are your problem.

                        Run this to enable them:

                        fsutil behavior set SymlinkEvaluation R2R:1
                        

                        The quick way through is to just run this on both, but you may wish to run it on your workstation and try the backup, and then run it on your server is it still doesn't work.

                        If this is a complete failure, I apologize 😉

                        Edit: R2L at the other end....

                        black3dynamiteB JaredBuschJ 2 Replies Last reply Reply Quote 1
                        • black3dynamiteB
                          black3dynamite @JasGot
                          last edited by

                          @JasGot said in Windows 10 Junction on UNC path:

                          My hunch is that your symlinks are not fully enabled.

                          Run this on the both sides (your computer running crashplan, and also the server you want your backups to reside on)

                          fsutil behavior query SymlinkEvaluation
                          

                          You will likely find this:
                          Local to local symbolic links are enabled.
                          Local to remote symbolic links are enabled.
                          Remote to local symbolic links are disabled.
                          Remote to remote symbolic links are disabled.

                          The "remote to" are your problem.

                          Run this to enable them:

                          fsutil behavior set SymlinkEvaluation R2R:1
                          

                          The quick way through is to just run this on both, but you may wish to run it on your workstation and try the backup, and then run it on your server is it still doesn't work.

                          If this is a complete failure, I apologize 😉

                          Edit: R2L at the other end....

                          Why isn't "Remote to" not enabled by default? Security?

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch @JasGot
                            last edited by JaredBusch

                            @JasGot said in Windows 10 Junction on UNC path:

                            My hunch is that your symlinks are not fully enabled.

                            Run this on the both sides (your computer running crashplan, and also the server you want your backups to reside on)

                            fsutil behavior query SymlinkEvaluation
                            

                            You will likely find this:
                            Local to local symbolic links are enabled.
                            Local to remote symbolic links are enabled.
                            Remote to local symbolic links are disabled.
                            Remote to remote symbolic links are disabled.

                            The "remote to" are your problem.

                            Run this to enable them:

                            fsutil behavior set SymlinkEvaluation R2R:1
                            

                            The quick way through is to just run this on both, but you may wish to run it on your workstation and try the backup, and then run it on your server is it still doesn't work.

                            If this is a complete failure, I apologize 😉

                            Edit: R2L at the other end....

                            No difference, but seriously good idea to check. Thanks.

                            1 Reply Last reply Reply Quote 0
                            • JaredBuschJ
                              JaredBusch
                              last edited by

                              Yes, I can copy the files to the local machine and let the backup take it from there. But I never had to previously. It, the script to copy the files, would just be one more point of failure.

                              1 Reply Last reply Reply Quote 0
                              • P
                                pirho99
                                last edited by

                                @JaredBusch
                                You can use BareMetal VHD loader to mount a vhd/vhdx on a network drive at startup, and Crashplan will see that as a local drive. link

                                1 Reply Last reply Reply Quote 0
                                • dafyreD
                                  dafyre
                                  last edited by

                                  Is Crashplan running as a particular user?

                                  If it's running as "System", it won't see the junction, will it?

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    marcinozga
                                    last edited by marcinozga

                                    Ok, so junction points don't support mapping to network path, symlinks do, and hardlinks can only be created for files, not folders. Try creating symlink and then create junction to the symlink and see if Crashplan can be fooled that way. So mklink /D C:\fake-Backup \\server01\Share\Subfolder and mklink /J c:\backup c:\fake-backup .

                                    1 Reply Last reply Reply Quote 0
                                    • 1 / 1
                                    • First post
                                      Last post