diff --git a/automation/roles/patroni/tasks/main.yml b/automation/roles/patroni/tasks/main.yml index 709cf5ee4..2d5d6f49c 100644 --- a/automation/roles/patroni/tasks/main.yml +++ b/automation/roles/patroni/tasks/main.yml @@ -673,7 +673,7 @@ - name: Run "{{ pgbackrest_patroni_cluster_restore_command }}" on Replica ansible.builtin.command: > {{ pgbackrest_patroni_cluster_restore_command }} - {{ '--target-action=shutdown' if pgbackrest_patroni_cluster_restore_command is search('--type=') else '' }} + {{ '--target-action=pause' if pgbackrest_patroni_cluster_restore_command is search('--type=') else '' }} async: "{{ cluster_restore_timeout | default(86400) }}" # timeout 24 hours poll: 0 register: pgbackrest_restore_replica