Skip to main content

 

Druva Documentation

Creating a storage

Overview

This topic explains what storages are and describes the procedure for creating them in inSync.

About storages

Storage is a location to which data backed up from user devices is stored. You can create multiple storages for inSync Enterprise. However, the combined size of all storages cannot exceed 64 TB.

Each inSync storage contains the following folders:

  • One or more data volumes - Each data volume is a discrete unit of storage on a physical disk that can store data.
  • Database folder - It contains the inSync database containing the metadata of the backed up data. The information stored in the database is essential for inSync to identify the data for each user.
  • Database log folder - It contains the log files for all transactions to the inSync database.

When you create a storage, you create the first data volume of the storage. Later you can add up to 10 data volumes to the storage. Data volumes bring scalability to a storage. You do not need to create a new storage every time you feel the need for additional space. Instead, you can simply attach a new volume to an existing storage, thus expanding the capacity of that storage. However, you cannot control how data is saved to data volumes. Typically, once a data volume is filled to its capacity, the subsequent data is saved to the next data volume of that storage.

Creating a storage

Before you begin

Before creating a storage:

  • Make sure you have admin or root privileges on the computer where inSync server is installed.
  • Plan for the necessary space required to create the storage. Use the following guidelines:
    • A storage can contain maximum 64 TB of data. If you plan to create multiple storages, the combined size of all storages cannot exceed 64 TB.
    • A storage can have maximum 10 data volume.
    • The database folder must be 5% of the data that will be stored in the storage. When calculating the size of the database folder, consider the size of the data volumes that you will create in the future and not just the first data volume you are creating.

Step 1: Create the folders required for the storage

To create the folders

  1. Log on to the server to which you attached your storage media.
  2. Create the folders that will be used as data folder for the data volume, database folder, and database log folder respectively.
  3. Make sure that you excluded these folders from an antivirus scan.

 

Follow these guidelines while creating the folders:

  1. If the storage will contain more than 1 TB data, create separate folders for the data folder for the data volume, database folder, and database log folder.
  2. The database and database log folders must be on a local drive. Do no create these folders on a networked or shared drive.
  3. The data folder can be either on a local drive, a Storage Area Network (SAN), or a Network-attached Storage (NAS).
  4. The database folder must be on a separate disk. If you expect many users to back up their data on the storage, create the database folder on a Solid-State Drive (SSD).
  5. It is recommended that you create the data folder and the database log folder on separate disks.

Step 2: ( for Linux) Assign insyncserver permissions on the storage folders

If inSync server is installed on a Linux computer, the user 'insyncserver' must have group and owner permissions on the data folder of the data volume, the database folder, and the database log folder.

To assign appropriate permissions

  1. Log on to the inSync server.
  2. Run the following command on all storage folders:
    $ sudo insync-config -s <storage path>
    

Step 3: Create the storage

While creating a storage, you can add only the first data volume. Later on you can add more volumes to the storage.

To create the storage

  1. Log on to the inSync Admin Console.
  2. On the menu bar, click Manage > Storage.
  3. Click Create New Storage.
  4. Enter the details to complete the storage creation. For information, see Fields on the storage creation wizard.
  5. Click Finish.

The storage is created.

Fields in the storage creation wizard

General Storage Information

The following table describes the fields on the General Storage Information page of the wizard.

Field Description
Storage name Enter the name for the storage.
Data folder Enter the path of the data folder of the first data volume where data will be stored.
Size Enter the size of data that can be saved to the data volume.
Storage consumption alert threshold Enter the threshold value which when crossed, triggers a low disk space alert. For example, if the Max. disk space is 10 TB and Storage consumption alert threshold is 80%, an alert is triggered when 8 TB of storage is consumed.

Performance

The following table describes the fields on the Performance page of the wizard.

Field Description
Use SSD Select if you are creating the database folder on a Solid State Drive.
Database folder / SSD path [Database folder] Enter the path to the database folder.
Database log folder Enter the path to the database log folder.
Max. parallel connections

Enter the number of parallel connections to the storage. It indicates the upper limit for parallel backup or restore operations that can be performed by the particular storage.

Note: By default, this value is set to 20. You can set this field to a maximum value of 100. As a best practice, set the value to 10% of the total number of users backing up their data to the storage.

Storage Compaction Schedule

Compaction is a process of deleting expired data to make room for new data. With each backup, the previous backup data becomes obsolete. This obsolete data is retained for a period that your retention policy dictates. For example, if your organization's policy mandates a retention of 90 days, the "obsolete data" is retained for 90 days. At the end of 90 days, this data is deleted from the storage, thus freeing up storage space. 

The compaction process is resource-intensive and time-consuming, and thus, should run during off-peak hours. Druva recommends that along with the daily compaction, you run a weekly compaction for a longer duration. 

 

The following table describes the fields on the Storage Compaction Schedule page of the wizard.

Field Description
Compact daily at

Enter the start time and duration for the daily storage compaction. For example, you can configure the daily compaction to start at midnight and continue for 6 hours. The compaction will stop at 6:00 AM even if it does not complete.

Note: By default, daily compaction runs for 6 hours. 
Compact weekly on Enter the day for weekly compaction.
Compact weekly at

Enter the start time and duration for the weekly storage compaction.

Note: By default, weekly compaction runs for 48 hours. 
  • Was this article helpful?