From ae28502c50bb407cf9e423ec07f8b5fa0ffa3959 Mon Sep 17 00:00:00 2001 From: "tommaso.piccioli" Date: Fri, 6 Mar 2020 11:48:35 +0100 Subject: [PATCH] DB dump retention changed --- library/roles/mysql/defaults/main.yml | 2 +- library/roles/postgresql/defaults/main.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library/roles/mysql/defaults/main.yml b/library/roles/mysql/defaults/main.yml index 90444538..b8752818 100644 --- a/library/roles/mysql/defaults/main.yml +++ b/library/roles/mysql/defaults/main.yml @@ -46,7 +46,7 @@ mysql_listen_on_ext_int: False mysql_backup_use_nagios: False mysql_backup_logdir: '{{ mysql_log_dir }}' mysql_backup_logfile: '{{ mysql_backup_logdir }}/my_backup.log' -mysql_backup_retain_copies: 15 +mysql_backup_retain_copies: 3 mysql_backup_destdir: /var/lib/mysql-backup mysql_backup_exclude_list: "performance_schema" diff --git a/library/roles/postgresql/defaults/main.yml b/library/roles/postgresql/defaults/main.yml index 5aac90b9..2360d346 100644 --- a/library/roles/postgresql/defaults/main.yml +++ b/library/roles/postgresql/defaults/main.yml @@ -217,7 +217,7 @@ postgres_gis_pkgs: pg_backup_enabled: True pg_backup_bin: /usr/local/sbin/postgresql-backup pg_backup_pgdump_bin: /usr/bin/pg_dump -pg_backup_retain_copies: 1 +pg_backup_retain_copies: 2 pg_backup_build_db_list: "yes" # Dynamically created from psql_db_data if pg_backup_db_list is not set #pg_backup_db_list: '{{ psql_db_name}}'