On Wed, May 09, 2012 at 07:20:25PM -0300, rhatto wrote:
> If I understood correctly given the info above, weekly.1/ folder dates from
> "Feb 27 01:11" but metadata/weekly.1/rotated says it was rotated at "Thu 12 
> Apr
> 2012 01:04:38 CEST".
>
> What really counts is the date from the metadata file as the folder dates
> varies if it was created (new increment, mkdir) or moved from an older
> increment (weekly.1, is the former oldest daily backup).

Indeed.  However, the dates of the directories seem to indicate a bit
when it was last touched (roughly).

> This makes me feel that we should change the folder dates to something closer
> to the actual rotation dates (a simple "touch" would suffice) otherwise it can
> get confusing to have one date in the folder and other in the increment.
> 
> For that, I'm opening upstream issue https://labs.riseup.net/code/issues/3929

Agreed.

> I wouldn't exclude other problems with the weekly/monthly rotations and I 
> could
> not spot why your weekly.* folders are so old comparing to the daily ones
> (maybe you disabled your rsync action for a while?) but the rotations seems to
> be happening.

I haven't, but rotating seems to have started to happen!

  # ls -l
  total 56
  drwxr-xr-x 19 root root 4096 May 10 01:01 daily.1/
  drwxr-xr-x 19 root root 4096 May  9 01:01 daily.2/
  drwxr-xr-x 19 root root 4096 May  8 01:01 daily.3/
  drwxr-xr-x 19 root root 4096 May  7 01:01 daily.4/
  drwxr-xr-x 19 root root 4096 May  6 01:01 daily.5/
  drwxr-xr-x 19 root root 4096 May  5 01:02 daily.6/
  drwxr-xr-x 19 root root 4096 May  4 01:01 daily.7/
  drwx------ 15 root root 4096 May 10 01:01 metadata/
  drwxr-xr-x 19 root root 4096 Apr 28 01:01 weekly.1/
  drwxr-xr-x 19 root root 4096 Feb 27 01:11 weekly.2/

  # cat metadata/weekly.*/rotated
  Sat 05 May 2012 01:00:36 CEST
  1336172436
  Sat 05 May 2012 01:00:36 CEST
  1336172436

> I still need to provide an unified patch for you to test. I'm very busy with
> lots of stuff but I'll try to do it soon.

Sure, no problem.  As it seems to be going right now, I can leave it
running.

Paul

-- 
Using the Power of Debian GNU/Linux  | E-mail: pau...@debian.org
Jabber/GTalk: p...@luon.net          | GnuPG key ID: 0x50064181

Attachment: signature.asc
Description: Digital signature

Reply via email to