Package: autopostgresqlbackup
Version: 2.5-1
Severity: important
X-Debbugs-Cc: [email protected]

Dear Maintainer,

I see daily and weekly backups, but no monthly backups after 2025-08-01. There 
exist monthly backups from 2023-07-01 until 2025-08-01.

I notized that the shell script should make monthly backups on the first day of 
a month (DOMONTHLY=1), but the code which calculates the date of the month 
(DNOM="$(date '+%d')") returns "01". Therefore there will never be a match.

So a simple fix might just use DOMONTHLY=01.

Regards
Stefan Weil

-- System Information:
Debian Release: 13.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.12.63+deb13-amd64 (SMP w/64 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages autopostgresqlbackup depends on:
ii  bsd-mailx [mailx]         8.1.2-0.20220412cvs-1.1
ii  mailutils [mailx]         1:3.19-1
ii  postgresql-client-common  278

Versions of packages autopostgresqlbackup recommends:
ii  anacron             2.3-43
ii  cron [cron-daemon]  3.0pl1-197
ii  gpg                 2.4.7-21+deb13u1+b1
ii  openssl             3.5.4-1~deb13u2

Versions of packages autopostgresqlbackup suggests:
ii  bzip2     1.0.8-6
ii  xz-utils  5.8.1-1
ii  zstd      1.5.7+dfsg-1

-- debconf-show failed

Reply via email to