-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue when trying to delete arch's from ARCLOG_PATH #265
Comments
Hello, Thank you. |
@TeodorChakalov |
Hello, branch REL_14_STABLE Thank you in advance. |
@zwyan0 |
@TeodorChakalov
|
@zwyan0 gz files cannot be deleted with this 2 parameters? |
I mean, It looks like a bug.
|
@zwyan0 Thank you in advance. |
Hello,
OpenSSL version:
OpenSSL 3.0.7 1 Nov 2022 (Library: OpenSSL 3.0.7 1 Nov 2022)
OS version:
NAME="Rocky Linux"
VERSION="9.2 (Blue Onyx)"
Postgresql version:
v14.4
I set the ARCLOG_PATH to /opt/pdbelsng/backups/arch:
[email protected] fullbackup$ cat pg_rman.ini
ARCLOG_PATH = /opt/pdbelsng/backups/arch
SRVLOG_PATH = /opt/pdbelsng/data/pg14/pg_log
BACKUP_MODE = F
COMPRESS_DATA = YES
KEEP_ARCLOG_FILES = 10
KEEP_ARCLOG_DAYS = -1
So when I go to the ARCLOG_PATH directory:
cd /opt/pdbelsng/backups/arch
[email protected] arch$ ls -la
total 2156
drwx------. 2 pdbelsng_adm pdbelsng_adm 4096 Mar 21 09:42 .
drwx------. 4 pdbelsng_adm pdbelsng_adm 4096 Mar 21 09:17 ..
-rw-------. 1 pdbelsng_adm pdbelsng_adm 1815846 Mar 21 09:33 000000010000000000000001.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 200 Mar 21 09:33 000000010000000000000002.00000060.backup.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16476 Mar 21 09:33 000000010000000000000002.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 18420 Mar 21 09:33 000000010000000000000003.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16387 Mar 21 09:33 000000010000000000000004.partial.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16463 Mar 21 09:33 000000020000000000000004.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 200 Mar 21 09:33 000000020000000000000005.00000060.backup.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16478 Mar 21 09:33 000000020000000000000005.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16935 Mar 21 09:33 000000020000000000000006.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16420 Mar 21 09:33 000000020000000000000007.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16389 Mar 21 09:33 000000020000000000000008.partial.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 59 Mar 21 09:33 00000002.history.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16464 Mar 21 09:33 000000030000000000000008.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 200 Mar 21 09:33 000000030000000000000009.00000060.backup.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16475 Mar 21 09:33 000000030000000000000009.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 17225 Mar 21 09:33 00000003000000000000000A.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16419 Mar 21 09:33 00000003000000000000000B.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16389 Mar 21 09:36 00000003000000000000000C.partial.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 67 Mar 21 09:33 00000003.history.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16461 Mar 21 09:39 00000004000000000000000C.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 200 Mar 21 09:39 00000004000000000000000D.00000028.backup.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16486 Mar 21 09:39 00000004000000000000000D.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16418 Mar 21 09:42 00000004000000000000000E.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 200 Mar 21 09:42 00000004000000000000000F.00000028.backup.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 16465 Mar 21 09:42 00000004000000000000000F.gz
-rw-------. 1 pdbelsng_adm pdbelsng_adm 73 Mar 21 09:36 00000004.history.gz
When starting the backup I see this INFO message:
INFO: start deleting old archived WAL files from ARCLOG_PATH (keep files = 10, keep days = -1)
INFO: the threshold timestamp calculated by keep days is "2024-03-22 00:00:00"
Why they are not deleted ?
Maybe I missed something?
Thank you in advance and have a great day ahead!
The text was updated successfully, but these errors were encountered: