{"action":"created","issue":{"url":"https://api.github.com/repos/dspinellis/fileprune/issues/6","repository_url":"https://api.github.com/repos/dspinellis/fileprune","labels_url":"https://api.github.com/repos/dspinellis/fileprune/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/dspinellis/fileprune/issues/6/comments","events_url":"https://api.github.com/repos/dspinellis/fileprune/issues/6/events","html_url":"https://github.com/dspinellis/fileprune/issues/6","id":162634030,"number":6,"title":"Too much pruning with irregular backups","user":{"login":"nomeata","id":148037,"avatar_url":"https://avatars.githubusercontent.com/u/148037?v=3","gravatar_id":"","url":"https://api.github.com/users/nomeata","html_url":"https://github.com/nomeata","followers_url":"https://api.github.com/users/nomeata/followers","following_url":"https://api.github.com/users/nomeata/following{/other_user}","gists_url":"https://api.github.com/users/nomeata/gists{/gist_id}","starred_url":"https://api.github.com/users/nomeata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomeata/subscriptions","organizations_url":"https://api.github.com/users/nomeata/orgs","repos_url":"https://api.github.com/users/nomeata/repos","events_url":"https://api.github.com/users/nomeata/events{/privacy}","received_events_url":"https://api.github.com/users/nomeata/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-06-28T08:50:38Z","updated_at":"2016-06-28T08:57:16Z","closed_at":null,"body":"The setting `fileprune -e 1.25` works well for my backups which I do daily. But a backup that is only done occasional, I find the results surprising:\r\n\r\n```\r\n\t\t2015-03-23.20h58\r\n\t\t2015-05-01.09h41\r\n\t\t2015-08-09.16h04\r\n\t\t2015-09-28.22h51\r\n\t\t2015-11-29.19h16\r\n\t\t2016-01-02.18h59\r\n\t\t2016-02-10.23h26\r\n\t\t2016-02-28.11h58\r\n\t\t2016-03-17.11h51\r\n\t\t2016-04-07.19h16\r\n\t\t2016-05-14.20h59\r\n\t\t2016-05-24.13h25\r\n2016-05-31.19h39\r\n2016-06-06.12h37\r\n2016-06-28.10h29\r\n```\r\nThe first column lists backups retained, while the second backups deleted. Why does it delete all those backups?"},"comment":{"url":"https://api.github.com/repos/dspinellis/fileprune/issues/comments/228991676","html_url":"https://github.com/dspinellis/fileprune/issues/6#issuecomment-228991676","issue_url":"https://api.github.com/repos/dspinellis/fileprune/issues/6","id":228991676,"user":{"login":"nomeata","id":148037,"avatar_url":"https://avatars.githubusercontent.com/u/148037?v=3","gravatar_id":"","url":"https://api.github.com/users/nomeata","html_url":"https://github.com/nomeata","followers_url":"https://api.github.com/users/nomeata/followers","following_url":"https://api.github.com/users/nomeata/following{/other_user}","gists_url":"https://api.github.com/users/nomeata/gists{/gist_id}","starred_url":"https://api.github.com/users/nomeata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nomeata/subscriptions","organizations_url":"https://api.github.com/users/nomeata/orgs","repos_url":"https://api.github.com/users/nomeata/repos","events_url":"https://api.github.com/users/nomeata/events{/privacy}","received_events_url":"https://api.github.com/users/nomeata/received_events","type":"User","site_admin":false},"created_at":"2016-06-28T08:57:16Z","updated_at":"2016-06-28T08:57:16Z","body":"Ah, is this because I did not specify a `count`? The line\r\n```\r\n                depth = max(count, nfiles);\r\n```\r\nindicates that it will schedule only `nfiles` schedule slot in this case, which is not what is desired here: If I do not give a max count, it should simply keep one backup per schedule slot!"}}
{"actor":{"display_login":"nomeata"}}