This topic explains what storages are and describes the procedure for creating them in inSync.
Storage is a location to which data backed up from user devices is stored. You can create multiple storages for inSync Professional. However, the combined size of all storages cannot exceed 64 TB.
Each inSync storage contains the following folders:
- Data folder - It contains the data backed up using inSync.
- 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.
Creating a storage
Before you begin
Before creating a storage:
- Make sure you have admin or root privileges on the computer on which inSync server is installed.
- Plan for the necessary space required to create the storage. Use the following guidelines:
- A storage can contain maximum 2 TB of data. If you plan to create multiple storages, the combined size of all storages cannot exceed 64 TB.
- The database folder must be 5% of the data that will be stored in the storage.
Step 1: Create the folders required for the storage
To create the folders
- Log on to the server to which you attached your storage media.
- Create the folders that will be used as data folder, database folder, and database log folder respectively.
- Make sure that you excluded these folders from an antivirus scan.
Follow these guidelines while creating the folders:
- 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.
- The database and database log folders must be on a local drive. Do no create these folders on a networked or shared drive.
- The data folder can be either on a local drive, a Storage Area Network (SAN), or a Network-attached Storage (NAS).
- 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).
- 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
- Log on to the inSync server.
- 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
- Log on to the inSync Admin Console.
- On the menu bar, click Manage > Storage.
- Click Create New Storage.
- Enter the details to complete the storage creation. For information, see Fields on the storage creation wizard.
- Click Finish.
The storage is created.
Fields in the storage creation wizard
This section contains a brief description of the fields that appear while creating a storage.
General Storage Information
The following table describes the fields on the General Storage Information page of the wizard.
|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.|
The following table describes the fields on the Performance page of the wizard.
|Database folder||The path to the database folder.|
|Database log folder||The path to the database log folder.|
|Max. parallel connections|| |
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. 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.
|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.