patroni/tasks/restore.yaml

8 lines
291 B
YAML
Raw Normal View History

2023-07-21 14:13:51 +00:00
---
- name: Copy walg-backup to walg-restore after restore
copy:
src: "{{ patroni_postgresql_home_dir ~ '/' ~ patroni_wal_g_backup_config_name }}"
dest: "{{ patroni_postgresql_home_dir ~ '/' ~ patroni_wal_g_restore_config_name }}"
remote_src: true
when: patroni_wal_g_backup