Skip to main content

 

Druva Documentation

Configure custom folders for backup

inSync On-premise 5.4 Administrator Guide
On-premise Editions: tick.png Private Cloud tick.png Enterprise tick.png Professional

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 laptops, administrators receive a misconfigured backup folder alert. To ensure backup across custom folders, ensure that the users create the folder on their laptops.
  • 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.

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 laptop, 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 laptop, 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 laptop 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 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 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 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 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.

Procedure

Note: You can configure custom folders for backup through profiles. You cannot do this on an individual user level.

To add a custom folder

  1. On the inSync Master Management Console menu bar, click Manage > Profiles.
  2. Click the link of the profile for which you want to configure custom folders for backup.
  3. Click the Laptop Backup Content tab.
  4. Click Edit. The Edit Profile window appears.

    Add Custom Folders.jpg

  5. Click the platform for which you want to configure the backup folders. For example, if you want to configure backup folders for Windows, click the Windows tab.
  6. Click the +Add Folder link. 
  7. Provide the appropriate information for each field.

    Field Action
    Folder to be backed up Type the path to the custom folder.
    Backup folder

    Update the name of the folder. The name of the folder appears when you specify the path to the folder. 

    This is an optional box. 

    Include Files Type or select the file types that you want to back up. If a file type does not appear in the list, type the file extension in the box that appears beside Include Files box. Ensure that you separate consecutive entries using a semicolon (;) and there is no white space between two entries.
    Exclude Files

    Type or select the file types that you want to exclude from backup. If a file type does not appear in the list, type the file extension in the box that appears beside Exclude Files box. Ensure that you separate consecutive entries using a semicolon (;) and there is no white space between two entries.

    Note: Entries in this field overrides the entries in the Include Files box. 
    Exclude Paths Type the path to the files and folders that you want to exclude from backups.
  8. Click Save.
  • Was this article helpful?