Automatic Stop Option
Sometimes will exit unexpectedly and the backup in progress on the cluster will not be properly stopped. exits as quickly as possible when an error occurs so that the cause can be reported accurately and is not masked by another problem that might happen during a more extensive cleanup.
@@ -1784,7 +1785,8 @@
{[project-exe]} {[dash]}-stanza={[postgres-cluster-demo]} {[dash]}-delta
- {[dash]}-type=time "{[dash]}-target={[time-recovery-timestamp]}" restore
+ {[dash]}-type=time "{[dash]}-target={[time-recovery-timestamp]}"
+ --target-action=promote restore
@@ -1860,7 +1862,7 @@
{[project-exe]} {[dash]}-stanza={[postgres-cluster-demo]} {[dash]}-delta
- {[dash]}-type=time "{[dash]}-target={[time-recovery-timestamp]}" restore
+ {[dash]}-type=time "{[dash]}-target={[time-recovery-timestamp]}" --target-action=promote restore
@@ -1916,7 +1918,7 @@
{[project-exe]} {[dash]}-stanza={[postgres-cluster-demo]} {[dash]}-delta
{[dash]}-type=time "{[dash]}-target={[time-recovery-timestamp]}"
- {[dash]}-set={[backup-last]} restore
+ {[dash]}-set={[backup-last]} --target-action=promote restore