> For the complete documentation index, see [llms.txt](https://docs.vega365.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vega365.com/redundancy-management-framework/user-manual/backfill.md).

# Backfill

Fix recording gaps

## Overview & Motivation

When a recorder fails, it stops recording video until it is restored, creating a gap in the stored content. To maintain a comprehensive media database, it is necessary to add any missing content.

## Methods

### Restore from the Edge

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2Fg3F8aPxrCCwzhsU64IWx%2FVega%20Systems%20Presentation%20May%202025%20Share.png?alt=media&amp;token=41431c47-f738-4c9e-8afa-b0dcafe892b5" alt="" width="478"><figcaption><p>Edge Retrieval</p></figcaption></figure>

Edge restoration is the process by which each XProtect recorder retrieves missing content from the edge recording copy on the camera. This is a native XProtect feature.

#### How do I set this?

Milestone XProtect natively supports edge restoration when cameras have edge recording capability. This behavior is controlled by the parameter *"Automatically retrieve remote recordings when connection is restored,"* as shown in the picture below:

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2F237tvxhIo0fRFGExhZk9%2Fimage.png?alt=media&amp;token=be1475a7-7f0b-4068-a8b9-ea142f3578cd" alt=""><figcaption></figcaption></figure>

#### How does RMF help?

RMF synchronizes the "Automatically retrieve remote recordings when connection is restored" parameter between the primary and secondary recorders. As a result, when edge recording is available, each recorder automatically fills in the missing content.

### Peer-to-Peer Restore from the Redundant Recorder

<figure><img src="https://73860689-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FK95oxUATgzuZZ2VhRoDw%2Fuploads%2F3GTbUEEIqEbdD6bTlvGs%2FVega%20Systems%20Presentation%20May%202025%20Share%20(1).png?alt=media&amp;token=60713a17-342a-42dc-b2aa-915ae2761bd0" alt="" width="563"><figcaption></figcaption></figure>

In this method, when a recorder restarts after a failure, it fetches any missing media from other active recorders that contain it.

#### How does RMF help?

Starting with v8.0, RMF offers a Backfill feature that enables peer-to-peer XProtect video copy between recorders. Read [Key RMF Backfill Features](https://docs.vega365.com/redundancy-management-framework/user-manual/backfill/key-rmf-backfill-features.md)

### Comparing the two methods

Increasingly, most cameras now feature edge recording capabilities. Edge recording is the only solution to mitigate camera network failures and addresses all other causes of missing content at the recorders. It is a superior option. \
However, many deployments still use legacy cameras that lack edge storage or have compliance issues that prevent edge recording. In these cases, restoring content from a redundant recorder remains an option.
