Package: rdiff-backup
Version: 1.2.5-1
Severity: normal
On:
$ 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.
-- System Information:
Debian Release: 5.0.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (x86_64)
Kernel: Linux 2.6.26-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages rdiff-backup depends on:
ii libc6 2.7-18 GNU C Library: Shared libraries
ii librsync1 0.9.7-5 rsync remote-delta algorithm libra
ii python 2.5.2-3 An interactive high-level object-o
ii python-support 0.8.4 automated rebuilding support for P
Versions of packages rdiff-backup recommends:
ii python-pylibacl 0.4.0-2 module for manipulating POSIX.1e A
ii python-pyxattr 0.4.0-1 module for manipulating filesystem
rdiff-backup suggests no packages.
-- debconf-show failed
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]