Gateway Backup - What is "Peer Data"?

I haven’t seen this before and there’s nothing n the user manual about this option.. What is peer data? (fyi this gateway is independant; it isn’t connected in redunancy)

Comparing gwbk with and without peer data (with WinMerge), these are the only differences:

The description of the HTTP param that's ultimately sent based on that selection is this:

In a redundant gateway environment, set this parameter to 'true' to retrieve local-specific files from the redundant peer over the gateway network. These files will be stored in the .gwbk alongside the local-specific files from this gateway.

Based on that, the intention is to capture things from the "local" resource collection (explicitly hardcoded to be the lowest part of the config inheritance tree; see here for more info) from the redundant peer.

It looks like this is purely informational capacity - sort of by definition you'll be restoring this single .gwbk to the primary and it doesn't appear to (currently?) do anything to send these local overrides to the backup.

2 Likes

Actually it does dispatch local-only data to the redundant backup, but you have to enable this option on restore:

The idea is that the redundant master retrieves local-specific files (such as host-specific certificates) from both redundant gateways and saves both in the .gwbk. Then the local-only files can be restored to each correct gateway upon restore (if that checkbox is checked).

But…you shouldn’t be seeing the “Download with Peer Data” button in an independent gateway. You should be seeing this:

2 Likes