rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

version 2.2 --remove-older-than behavior changed


From: tbsky
Subject: version 2.2 --remove-older-than behavior changed
Date: Thu, 16 Feb 2023 14:40:32 +0800
User-agent: Roundcube Webmail/1.3.16

Hi:
I upgrade our rdiff-backup version from 2.0.5 to 2.2 (the package comes with RHEL 9.1). if I issue command like below:

version 2.2:
#>rdiff-backup remove increments --older-than 10B my-backup
NOTE: No increments older than Wed Feb  1 04:15:41 2023 found, exiting.
WARNING: No increment is older than '10B'
WARNING: Action remove emitted warnings, see previous messages for details
#>echo $?
2

version 2.0.5:
#>rdiff-backup --remove-older-than 10B my-backup
No increments older than Fri Jan  6 01:00:06 2023 found, exiting.
#>echo $?
0

old version return ok when there is nothing to remove. but 2.2 return error. is this a regression or changed behavior? if this is a new behavior, I hope the return code "2" will keep fixed/documented so the backup script can handle the situation.

thanks a lot for confirm.

Regards,
tbsky



reply via email to

[Prev in Thread] Current Thread [Next in Thread]