Create Junction Points to enable inSync Share audit
Updated over a week ago

📝 Note
This article applies to

  • OS: Windows, Mac

  • Product edition: inSync Cloud


Overview

Audit may be ordered for any user or for the user data. This also includes the audit of data in the inSync Share folder.

Since the name, inSync Share, contains a space, it may be difficult for a few audit applications to fetch the contents.

A workaround to this problem is to create a Junction Point. With Junction Point, an Administrator can use any name without space, for example - inSync_share or inSyncShare etc.

Create a Junction Point

You can create a junction point using the

MKlink 

command on Windows. The technet article related to this command is available at: https://technet.microsoft.com/en-us/...(v=ws.11).aspx

Druva recommends using the parameter /j. This creates a directory junction. As a result, the parameter creates a shortcut to our inSync Share folder and you can assign any this shortcut. The shortcut can access all the files from the inSync Share folder and does not alter the normal functioning of inSync Share in any form.

On Windows

To create a junction point:

  1. Open the command prompt.

  2. Open the directory C:\Users\Username.

  3. Run the command:

    Mklink /j <path to the junction location> “path to inSync share folder”
        For example:
    mklink /j D:\inSyncShare "inSync Share"


    Where D:\inSyncShare is your junction point and

    “inSync Share”

    is your actual inSync share folder. Since you run the command from C:\Users\Username, you do are not required to provide a path to the inSync Share folder.

After running the command, you can see a junction folder titled inSyncShare in the D drive. You can use any folder name here and it will route back to the original inSync Share folder. The audit team can use the path of the new folder to get the details of all the files from the inSync Share folder.

On Mac

To create a Junction Point on Mac, use the link command “ln” with the parameter “s”, where “s” represents the symbolic link.
Open Terminal and run the command

ln -s /<path to original> /<path to symlink>

In the above command:

MacSymbolicLink.png

In your case, you can run the command:

ln -s /users/accountname/”inSync Share” /path/to/symlink

📝 Note

If the folder path contains spaces, you need to add quotes to specify the spaces.
For example, ln -s ~/inSync Share ~/inSyncShare must be entered as any of the following:

  • ln -s ~/inSync" "Share/ ~/inSyncShare 
  • ln -s ~"/inSync Share/" ~/inSyncShare 
  • ln -s ~/inSyn”c S”hare/ ~/inSyncShare 

The placement of quotes does not matter as long as the space is enclosed inside the quotes.


This command creates the symbolic link and you can use the new folder to run the audit.

Did this answer your question?