There are two types of restore: one is to restore backup data to an existing FEPCluster, and the other is to create a new FEPCluster and restore backup data.
The former retains the attributes of the FEPCluster, such as IP address and name, while the latter is created from scratch.
The restore process deploys a FEP restore container. The FEP restore container performs the pgBackRest restore operation from the backup data to be restored to the master server of the FEPCluster. After the data is restored to the master server, the FEPCluster is created by synchronizing the data to two replica servers.
If user create a new FEPCluster, the newly created FEPCluster will inherit the settings of the source cluster, unless otherwise specified
User can also create a cluster with different settings from the source cluster by including the settings in FEPRestore CR.
Switching connections to the new cluster
The restore creates a new FEPCluster. If necessary, you need to set up Pgpool-II and change the access point of the application to the new cluster or the new Pgpool-II.
About recovering a failed FEPCluster
Even if the existing FEPCluster fails and the FEP is not running, if the volume of the backup area is safe, it is possible to restore from the backup data.