From d7ed38375d685c2b794fb1339acc2510ddba36aa Mon Sep 17 00:00:00 2001 From: dodger Date: Sat, 28 Oct 2023 10:30:58 +0200 Subject: [PATCH] updates + --- intervention.md | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/intervention.md b/intervention.md index 5103fc1..6a83b8e 100644 --- a/intervention.md +++ b/intervention.md @@ -86,7 +86,24 @@ So, for example, we will launch `rsync R:\postgresql\local\archivelog 10.6.x.3\R To copy archivelogs from one server to the opposite. -### Mandatory +### Additional steps for any solution + +#### Archivelog cleanup + +A scheduled tasks should be deployed on both _primary_ and _bakcup_ server to keep the side of the _archivelog_ folder under control. +For example, using [this](https://jackworthen.com/2018/03/15/creating-a-scheduled-task-to-automatically-delete-files-older-than-x-in-windows/) solution. +The folder to cleanup will be: +``` +R:\postgresql\local\archivelog +``` + +Or if we achieve the `Z:\` drive solution: +``` +R:\postgresql\archivelog +``` + + +