Mailinglist Archive: yast-devel (42 mails)

< Previous Next >
[yast-devel] snapper timeline_limit not working as expected...
Dear yast-developers,

sorry for using this DL, but I don't know where to address my issue correctly.

I've recently started to use snapper to snapshot a subvolume and set the
TIMELINE config to:
# cleanup hourly snapshots after some time
TIMELINE_CLEANUP="yes"

# limits for timeline cleanup
TIMELINE_MIN_AGE="1800"
TIMELINE_LIMIT_HOURLY="2"  // <<<<<< should keep two hourly's
TIMELINE_LIMIT_DAILY="20"
TIMELINE_LIMIT_MONTHLY="12"
TIMELINE_LIMIT_YEARLY="0"


But I now see this:
snapper -c dev list
Type   | #  | Pre # | Date                             | User | Cleanup  |
Description | Userdata
-------+----+-------+----------------------------------+------+----------+-------------+---------
single | 0  |       |                                  | root |          |
current     |
single | 21 |       | Mon 26 May 2014 12:01:02 AM CEST | root | timeline |
timeline    |
single | 45 |       | Tue 27 May 2014 12:01:02 AM CEST | root | timeline |
timeline    |
single | 69 |       | Wed 28 May 2014 12:01:02 AM CEST | root | timeline |
timeline    |
single | 71 |       | Wed 28 May 2014 02:01:02 AM CEST | root | timeline |
timeline    |
single | 72 |       | Wed 28 May 2014 03:01:03 AM CEST | root | timeline |
timeline    |
single | 73 |       | Wed 28 May 2014 04:01:02 AM CEST | root | timeline |
timeline    |
single | 74 |       | Wed 28 May 2014 05:01:01 AM CEST | root | timeline |
timeline    |
single | 75 |       | Wed 28 May 2014 06:01:02 AM CEST | root | timeline |
timeline    |
single | 76 |       | Wed 28 May 2014 07:01:02 AM CEST | root | timeline |
timeline    |
single | 77 |       | Wed 28 May 2014 08:01:02 AM CEST | root | timeline |
timeline    |
single | 78 |       | Wed 28 May 2014 09:01:02 AM CEST | root | timeline |
timeline    |
single | 79 |       | Wed 28 May 2014 10:01:02 AM CEST | root | timeline |
timeline    |
single | 80 |       | Wed 28 May 2014 11:01:02 AM CEST | root | timeline |
timeline    |

21 and 45 seems to be DAYLIES.

But 69-80 are 11 snapshots, with 70 missing. So maybe 69 is a daily as well.
(12 AM is really confusing me. BTW, is there a way to change the timeformat?)

But I'm just wondering what is going on here with 71-80? This is certainly more
than "2" hourlys.
I've used rsnapshot before and configured cron to run two hourly's a day. I
though with TIMELINE_LIMIT_HOURLY=2 would also only keep two snapshots.

Also it would be nice if the description could be updated to "timeline - daily"
to indicate it is kept because of some rule.

Best regards,
Sascha Zorn

--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: yast-devel+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups