tags 533603 moreinfo
thanks
Hi,
Thanks for the bug report.
> $ rdiff-backup -l /tmp/87
> Found 12 increments:
> increments.1970-01-12T15:46:40+02:00.dir Mon Jan 12 15:46:40 1970
> increments.1970-01-24T05:33:20+02:00.dir Sat Jan 24 05:33:20 1970
> increments.1970-02-04T19:20:00+02:00.dir Wed Feb 4 19:20:00 1970
> increments.1970-02-27T22:53:20+02:00.dir Fri Feb 27 22:53:20 1970
> increments.1970-03-11T12:40:00+02:00.dir Wed Mar 11 12:40:00 1970
> increments.1970-03-11T14:20:00+02:00.dir Wed Mar 11 14:20:00 1970
> increments.1970-03-11T14:36:40+02:00.dir Wed Mar 11 14:36:40 1970
> increments.1970-03-11T14:53:20+02:00.dir Wed Mar 11 14:53:20 1970
> increments.1970-03-11T15:10:00+02:00.dir Wed Mar 11 15:10:00 1970
> increments.1970-03-11T23:30:00+02:00.dir Wed Mar 11 23:30:00 1970
> increments.1970-03-12T02:16:40+02:00.dir Thu Mar 12 02:16:40 1970
> increments.1970-03-12T05:03:20+02:00.dir Thu Mar 12 05:03:20 1970
> Current mirror: Fri Jun 19 02:38:48 2009
>
> $ rdiff-backup --force --remove-older-than 11B /tmp/87
> Deleting increments at times:
> Mon Jan 12 15:46:40 1970
> Sat Jan 24 05:33:20 1970
> Wed Feb 4 19:20:00 1970
>
>
> Is removing 3 backups increments. Since there are 12 increments, the number
> of the oldest one should be 12. Removing older then 11 should either remove 2
> if it is inclusive or 1 if not. However it removes 3.
>
> On the other hand on another test set:
>
> $ rdiff-backup -l /tmp/86
> Found 3 increments:
> increments.2009-06-16T07:20:34+03:00.dir Tue Jun 16 07:20:34 2009
> increments.2009-06-17T07:20:34+03:00.dir Wed Jun 17 07:20:34 2009
> increments.2009-06-18T07:20:34+03:00.dir Thu Jun 18 07:20:34 2009
> Current mirror: Fri Jun 19 07:32:46 2009
>
> Removing:
>
> $ rdiff-backup --force --remove-older-than 3B /tmp/86
> No increments older than Tue Jun 16 07:20:34 2009 found, exiting.
>
> $ rdiff-backup --force --remove-older-than 2B /tmp/86
> Deleting increment at time:
> Tue Jun 16 07:20:34 2009
>
> $ rdiff-backup -l /tmp/86
> Found 2 increments:
> increments.2009-06-17T07:20:34+03:00.dir Wed Jun 17 07:20:34 2009
> increments.2009-06-18T07:20:34+03:00.dir Thu Jun 18 07:20:34 2009
> Current mirror: Fri Jun 19 07:32:46 2009
>
> I.e. only 2B removes one increment which suggest that it is not inclusive,
> and in the previous case only one increment should have been removed.
>
> And there are more problems with --remove-older-then with dates where
> sometimes it is removing inclusive, some times exclusive, and some time it
> just is not clear how it works.
>
Here is my test with the lastest version :
$ rdiff-backup -l backup/
Found 12 increments:
increments.2009-09-12T15:18:04+02:00.dir Sat Sep 12 15:18:04 2009
increments.2009-09-12T15:18:18+02:00.dir Sat Sep 12 15:18:18 2009
increments.2009-09-12T15:18:37+02:00.dir Sat Sep 12 15:18:37 2009
increments.2009-09-12T15:22:05+02:00.dir Sat Sep 12 15:22:05 2009
increments.2009-09-12T15:22:20+02:00.dir Sat Sep 12 15:22:20 2009
increments.2009-09-12T15:22:34+02:00.dir Sat Sep 12 15:22:34 2009
increments.2009-09-12T15:22:49+02:00.dir Sat Sep 12 15:22:49 2009
increments.2009-09-12T15:23:07+02:00.dir Sat Sep 12 15:23:07 2009
increments.2009-09-12T15:23:24+02:00.dir Sat Sep 12 15:23:24 2009
increments.2009-09-12T15:23:39+02:00.dir Sat Sep 12 15:23:39 2009
increments.2009-09-12T15:24:03+02:00.dir Sat Sep 12 15:24:03 2009
increments.2009-09-12T15:24:18+02:00.dir Sat Sep 12 15:24:18 2009
Current mirror: Sat Sep 12 15:24:59 2009
$ rdiff-backup --force --remove-older-than 11B backup/
Deleting increment at time:
Sat Sep 12 15:18:04 2009
$ rdiff-backup -l backup/
Found 11 increments:
increments.2009-09-12T15:18:18+02:00.dir Sat Sep 12 15:18:18 2009
increments.2009-09-12T15:18:37+02:00.dir Sat Sep 12 15:18:37 2009
increments.2009-09-12T15:22:05+02:00.dir Sat Sep 12 15:22:05 2009
increments.2009-09-12T15:22:20+02:00.dir Sat Sep 12 15:22:20 2009
increments.2009-09-12T15:22:34+02:00.dir Sat Sep 12 15:22:34 2009
increments.2009-09-12T15:22:49+02:00.dir Sat Sep 12 15:22:49 2009
increments.2009-09-12T15:23:07+02:00.dir Sat Sep 12 15:23:07 2009
increments.2009-09-12T15:23:24+02:00.dir Sat Sep 12 15:23:24 2009
increments.2009-09-12T15:23:39+02:00.dir Sat Sep 12 15:23:39 2009
increments.2009-09-12T15:24:03+02:00.dir Sat Sep 12 15:24:03 2009
increments.2009-09-12T15:24:18+02:00.dir Sat Sep 12 15:24:18 2009
Current mirror: Sat Sep 12 15:24:59 2009
$
So it seems ok to me, please try to upgrade to the lastest available version in
sid.
Bye,
--
Carl Chenet
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]