pg_switch_xlog()
/pg_switch_wal()
cannot be performed on the standby, the command will only test the repository configuration.
+ pg_switch_xlog()
/pg_switch_wal()
cannot be performed on the standby, the command will only test the repository configuration.
Note that pg_create_restore_point('pgBackRest Archive Check')
and pg_switch_xlog()
/pg_switch_wal()
are called to force Exchange keys between
Exchange keys between
Test that connections can be made from
Test that connections can be made from
A backup is a consistent copy of a database cluster that can be restored to recover from a hardware failure, to perform Point-In-Time Recovery, or to bring up a new standby.
-Full Backup:
Full Backup:
Differential Backup:
Upgrading from v1 to v2 is fairly straight-forward. The repository format has not changed and all non-deprecated options from v1 are accepted, so for most installations it is simply a matter of installing the new version.
+Upgrading from 1.xx (v1) to 2.xx (v2) is fairly straight-forward. The repository format has not changed and all non-deprecated options from v1 are accepted, so for most installations it is simply a matter of installing the new version.
However, there are a few caveats:
@@ -622,7 +622,7 @@Although useful this feature may not be appropriate when another third-party backup solution is being used to take online backups as
Note that
Note that
The configuration described in Quickstart is suitable for simple installations but for enterprise configurations it is more typical to have a dedicated
The configuration described in Quickstart is suitable for simple installations but for enterprise configurations it is more typical to have a dedicated
A new host named
A new host named
The
The
The
The database host must be configured with the backup host/user. The default for the
The database host must be configured with the repository host/user. The default for the
Commands are run the same as on a single host configuration except that some commands such as
Commands are run the same as on a single host configuration except that some commands such as
Create the stanza in the new repository.
-Check that the configuration is correct on both the
Check that the configuration is correct on both the
To perform a backup of the
To perform a backup of the
Since a new repository was created on the
Since a new repository was created on the
A new backup must be performed due to the timeline switch.
-The restore command can and should use all available CPUs because during a restore the
Sometimes it is useful to prevent
New
New
Replication allows multiple copies of a
Both the primary and standby databases are required to perform the backup, though the vast majority of the files will be copied from the standby to reduce load on the primary. The database hosts can be configured in any order.
Before starting the new cluster, the
Run the
Run the
Run a full backup on the new cluster and then restore the standby from the backup. The backup type will automatically be changed to
Backup from standby can be enabled now that the standby is restored.
-