QNAP School > Tutorials > NVR Technical Guide
[Tutorial] How to Configure Storage Expansion for Long-term Recording?

Key Benefits:
After installing the Storage Expansion App (QPKG) on the QNAP NAS and enabling the storage expansion to the QNAP NAS on the NVR, the QNAP NAS will frequently ask the NVR if it has new recording files. If the NVR has new recording files and the backup buffer meets your defined threshold, the QNAP NAS will then download the recordings from the NVR. Under our testing, this method largely improves file backup throughput, with some processes offloaded to the QNAP NAS CPU.

Key features:
VioStor NVR + QNAP NAS + REXP for long-term recording

1. Addressing user needs: Users can expand their storage capacity based on their needs.
2. Reduces expenses: This is a cost-effective choice to expand storage.
3. Highly scalable for storage expansion in the future.

Storage Expansion - Introduction http://eu1.qnap.com/Surveillance/presentation/Storage_Expansion-Introduction.pdf

Storage Expansion - Selection guide http://eu1.qnap.com/Surveillance/presentation/Storage_Expansion-Guide.pdf

QNAP RAID Expansion Enclosures http://files.qnap.com/news/pressresource/product/Use_QNAP_RAID_Expansion_Enclosure_to_Expand_Storage_Capacity_en.pdf

How it works?

Suppose the NVR only has enough space for storing 5 days of recording files, and the QNAP NAS only has enough space for storing 7 days of backup files.

The backup buffer on the NVR is set to 48 hours.

The recording files are set to be backed up to the QNAP NAS.

After the settings are applied, the QNAP NAS will check and download the earliest 48 hours of recording files from the NVR. So, the first two days of recording files will be downloaded and stored on the QNAP NAS.

As time passes, the NVR storage space will be full by the 5th day. As the earliest 48 hours of recording files are the same as before, no more recording files are downloaded and stored on the QNAP NAS..

On the 6th day, to store new recording files, the NVR will delete the first day's recording files. Now the earliest 48 hours are the second and third days. So, the recording files of the third day will be downloaded to the QNAP NAS.

Based on these settings, the QNAP NAS will keep downloading recording files until it is full, and a total of 10 days of recording files will be kept (the earliest 5 days on the QNAP NAS and latest 5 days on the NVR.)

To store new recording files, the NVR will delete the recording files of the sixth day, and the eighth day's recording files (the new, earliest 48 hours) will be downloaded to the QNAP NAS. As the QNAP NAS is full, it will delete the first day's recording files.

The total hours of recording files = total hours of recording files on the NVR + total hours of recording files on the NAS – Backup buffer.

Please note:
In order to ensure that the Storage Expansion can be executed whilst recording, please calculate the bandwidth requirements for specific VioStor NVR models.

The following is estimated bandwidth requirements for specific NVR models:
VS-8100 Pro+, 8100U-RP Pro(+), 12100U-RP Pro(+) series: 360 Mbps.
VS-2200 Pro+, 2100 Pro+, 4100 Pro+, 6100 Pro+, 4100U-RP Pro+ series: 160 Mbps.
VS-2000 Pro, VS-4000 Pro, VS-6000 Pro, 4000U-RP Pro series: 90 Mbps.

Limitations and Restrictions:

  1. Storage Expansion is currently supported by the VioStor Pro(+) series (running QVR v5.1.0 or higher version) and QNAP NAS TVS-ECx80, x71U, x71, x70, x63 series and TS-x79U, ECx80, ECx80U, x53U, x53 Pro, x51 series (running QTS v4.1.4 or higher version), and they must be set on the same LAN.
    For VS-12100U-RP Pro(+), 8100U-RP Pro(+), 8100 Pro+ series, it is recommended to configure up to 3 NAS servers for storage expansion.
    For VS-2200 Pro+, 4100U-RP Pro+, 6100 Pro+, 4100 Pro+, VS-2100 Pro+ series, it is recommended to configure up to 2 NAS servers for storage expansion.
    For VS-4000U-RP Pro, 6000 Pro, 4000 Pro, 2000 Pro series, it is recommended to configure up to 1 NAS server for storage expansion.
  2. A gigabit switch is required for this application.
  3. All QNAP NVR and NAS units are required to use fixed IP addresses and be under same subnet mask & gateway.
  4. Storage expansion related settings cannot be modified using local display.
  5. The file transfer process between the QNAP NVR and NAS will be completed even if it is suddenly interrupted (for example, the destination folder is deleted.) For example, the cache count is set to six hours. The destination is changed to none in the middle of processing. When this happens, the NVR will still move recording files to the QNAP NAS until the entire process is finished.

How to configure storage expansion?

Step 1: Install the StorageExpansion App (QPKG) on the QNAP NAS
Please note: Download the app from the QTS App Center. Before installing the app, please ensure the app is correct, carefully read the instructions, and back up the important data on the QNAP NAS.

  • Download and install the StorageExpansion package.
  • To install the app, click “Add to QTS”.

Step 2: Configure Storage Expansion on the NVR

  1. Go to "Backup & Expansion" → "Storage Expansion" to configure relevant settings.
  2. Click “Add” in “NAS List” table under “Overview”.
  3. Please enter the QNAP NAS/destination settings.
    A. Enter NAS IP, port, and user credentials.
    B. Enter the destination name (the name cannot be used same as any folder under root.).
    C. Select the volume.
    D. Enter a value for the backup buffer.

    If you want to configure storage expansion to a REXP Expansion Enclosure, please select the right volume on REXP to enable storage expansion to REXP.

    Please note:
    Destination: The folder created on the QNAP NAS to save recording files.
    Volume: The volume assigned for storage expansion.
    Backup buffer: As an example, if you configure the backup buffer as 6, the latest six hours of recordings will be copied to the QNAP NAS. The maximum value is 48.

  4. You can enable a QNAP NAS and modify its settings on this page.
  5. Click “Storage Expansion Assignment” to choose a QNAP NAS as the storage unit for each channel.
  6. Review all of the configured settings and recording storage details under “Overview”.

    This page will automatically refresh every fifteen minutes.

QNAP NAS models are an ideal solution for expanding the storage capacity of the NVR to save more recording files. Integration of both QNAP devices can help users to save recording files more flexibly and efficiently.

Step 3: Check available NVRs on the list and their status on the QNAP NAS

  1. Click “Open” on StorageExpansion.
  2. You can check available NVRs and their status.

    Please note: The NVR status will becomeafter the storage expansion assignment is completed.