Skip to main content
Druva Documentation

Configure custom folders for backup

inSync Cloud Editions: File:/tick.png Elite Plus File:/tick.png Elite File:/cross.png Enterprise File:/tick.png Business

Overview

You can add folders for backup even if you do not see the folder in the Folders to backup list. These folders are called custom folders. You must add the custom folders for all operating systems. 

Note:
  • If you add folders that are not on user devices, administrators receive a misconfigured backup folder alert. To ensure backup across custom folders, ensure that the users create the folder on their devices.
  • inSync users cannot edit or remove the folders configured by inSync administrators for backup through inSync Client.
  • Absolute paths to a folder are operating system specific. For example, for Windows, use <drive>:\customfolder, whereas for Linux, use /root/customfolder.
  • You can set relative paths that include global variables. For more information, see Guidelines on using global variables.
  • The folder path can contain a maximum of 255 characters.
  • inSync does not backup network location due to VSS limitation.

Guidelines for using global variables

You can use global variables while adding custom folders for backup. The following sections provide the guidelines for each operating system. 

Windows

The following table lists the global variables that you can use on a Windows operating system.

Global variable Description Usage Example
%appdata% Equivalent to the appdata folder path in Windows.

%appdata% 

In this example, if the user is on a Windows 7 device, this is equivalent to C:\Users\<username>\AppData\Roaming.

%userprofile% Equivalent to the user profile path in Windows.

%userprofile%

In this example, if the user is on a Windows 7 device, this is equivalent to C:\Users\<username>.

%homedir% Equivalent to the user's home directory path in Windows.

%homedir%

In this example, if a user is logged on to a Windows 7 device with the user name ABC, this is equivalent to C:\Users\ABC.

%username%

Equivalent to the user name of the user who is currently logged in on Windows. 

%username%

In this example, if a user is logged on to Windows 7 device with the user name ABC and the administrator configured C:\users\%username%\customfolder. In this case, this is equivalent to C:\users\ABC\customfolder.

 

Linux

The following table lists the global variables that you can use on a Linux operating system.

Global variable Description Usage Example
%userprofile% Equivalent to the user profile path in Linux.

%userprofile%

In this example, if a user is logged on to Linux device with the user name ABC, this is equivalent to /home/ABC.

%homedir% Equivalent to the user's home directory path in Linux.

%homedir%

In this example, if a user is logged on to Linux device with the user name ABC, this is equivalent to /home/ABC.

%username%

Equivalent to with the user name of the user who is currently logged in on Linux. 

%username%

In this example, if a user is logged on to Linux device with the user name ABC and the administrator configured /home/%username%/customfolder. In this case, this is equivalent to /home/ABC/customfolder.

Mac

The following table lists the global variables that you can use on a Mac operating system.

Global variable Description Usage Example
%appdata% Equivalent to the application data location in Mac.

%appdata% 

In this example, if the user is on a Mac, this is equivalent to 

/Users/<username>/Library/<wbr/>Application Support/

%userprofile% Equivalent to the user profile path in Mac.

%userprofile%

In this example, if a user is logged on to a Mac with the user name ABC, this is equivalent to /home/ABC.

%homedir% Equivalent to the user's home directory path in Mac.

%homedir%

In this example, if a user is logged on to a Mac with the user name ABC, this is equivalent to /home/ABC.

%username%

Equivalent to the user name of the user who is currently logged in on Mac. 

%username%

In this example, if a user is logged on to a Mac with the user name ABC and the administrator configured /home/%username%/customfolder. In this case, this is equivalent to /home/ABC/customfolder.

Expanded path behavior for global variables

When adding a custom folder, inSync uses the folder name specified in the Folder display name field. However, in the following scenarios, inSync displays the last folder of the expanded path as the folder name:

  • When the Folder display name is a system variable and is marked as mandatory.
  • When the path in the Folder to be backed up field is a system variable and is not marked as mandatory.

For example, if the Folder display name is %userprofile%, the expanded path is D:\Users\John, and the folder is marked as mandatory, then the display name is John.

global variable in folder display name.png

 This feature only works with inSync Client 6.0 for Cloud. inSync Client 6.0 for Cloud is currently available in the Early Access Program. If your organization wants to participate in the Early Access Program, contact Druva Support.

In this section

The following table lists the actions that you can perform for configuring custom folders.

Task Topic
Add custom folders for backup Add custom folders for backup
Remove custom folders from backup Remove custom folders from backup