{"action":"created","issue":{"url":"https://api.github.com/repos/NethServer/dev/issues/5565","repository_url":"https://api.github.com/repos/NethServer/dev","labels_url":"https://api.github.com/repos/NethServer/dev/issues/5565/labels{/name}","comments_url":"https://api.github.com/repos/NethServer/dev/issues/5565/comments","events_url":"https://api.github.com/repos/NethServer/dev/issues/5565/events","html_url":"https://github.com/NethServer/dev/issues/5565","id":349761258,"node_id":"MDU6SXNzdWUzNDk3NjEyNTg=","number":5565,"title":"Fail2ban triggers backup-config run every night","user":{"login":"stephdl","id":3164851,"node_id":"MDQ6VXNlcjMxNjQ4NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3164851?v=4","gravatar_id":"","url":"https://api.github.com/users/stephdl","html_url":"https://github.com/stephdl","followers_url":"https://api.github.com/users/stephdl/followers","following_url":"https://api.github.com/users/stephdl/following{/other_user}","gists_url":"https://api.github.com/users/stephdl/gists{/gist_id}","starred_url":"https://api.github.com/users/stephdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephdl/subscriptions","organizations_url":"https://api.github.com/users/stephdl/orgs","repos_url":"https://api.github.com/users/stephdl/repos","events_url":"https://api.github.com/users/stephdl/events{/privacy}","received_events_url":"https://api.github.com/users/stephdl/received_events","type":"User","site_admin":false},"labels":[{"id":406319832,"node_id":"MDU6TGFiZWw0MDYzMTk4MzI=","url":"https://api.github.com/repos/NethServer/dev/labels/testing","name":"testing","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"stephdl","id":3164851,"node_id":"MDQ6VXNlcjMxNjQ4NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3164851?v=4","gravatar_id":"","url":"https://api.github.com/users/stephdl","html_url":"https://github.com/stephdl","followers_url":"https://api.github.com/users/stephdl/followers","following_url":"https://api.github.com/users/stephdl/following{/other_user}","gists_url":"https://api.github.com/users/stephdl/gists{/gist_id}","starred_url":"https://api.github.com/users/stephdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephdl/subscriptions","organizations_url":"https://api.github.com/users/stephdl/orgs","repos_url":"https://api.github.com/users/stephdl/repos","events_url":"https://api.github.com/users/stephdl/events{/privacy}","received_events_url":"https://api.github.com/users/stephdl/received_events","type":"User","site_admin":false},"assignees":[{"login":"stephdl","id":3164851,"node_id":"MDQ6VXNlcjMxNjQ4NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3164851?v=4","gravatar_id":"","url":"https://api.github.com/users/stephdl","html_url":"https://github.com/stephdl","followers_url":"https://api.github.com/users/stephdl/followers","following_url":"https://api.github.com/users/stephdl/following{/other_user}","gists_url":"https://api.github.com/users/stephdl/gists{/gist_id}","starred_url":"https://api.github.com/users/stephdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephdl/subscriptions","organizations_url":"https://api.github.com/users/stephdl/orgs","repos_url":"https://api.github.com/users/stephdl/repos","events_url":"https://api.github.com/users/stephdl/events{/privacy}","received_events_url":"https://api.github.com/users/stephdl/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-08-11T20:22:49Z","updated_at":"2018-08-13T16:07:20Z","closed_at":null,"author_association":"NONE","body":"**Steps to reproduce**\r\n\r\nThe configuration backup (backup-config) is created only if the configuration has been changed.\r\nFail2ban “continuously” modify its database to keep tracks of bans.\r\nAs a result, the backup is updated every night if fail2ban is active.\r\nThis behavior renders the history of backups less useful.\r\n\r\n**Expected behavior**\r\n\r\nwe expect the fail2ban does not interfere with the configuration backup, several possibilities\r\n\r\n- create a database outside of the /var/lib/nethserver/db\r\n  easy to do, the only cons I see is if you want to `show` a key, the full path to the database must be used with the db command : `db /var/lib/nethserver/fail2ban/fail2ban.esmith show`\r\n- exclude the fail2ban database from the configuration database\r\n  easy, probably the best solution\r\n- use a json file to store the ban counter\r\n  complicated and the full solution must be coded\r\n\r\n**See also**\r\n\r\nhttps://community.nethserver.org/t/fail2ban-triggers-backup-config-run-every-night/10416\r\n\r\n----\r\n\r\nthank @filippocarletti \r\n"},"comment":{"url":"https://api.github.com/repos/NethServer/dev/issues/comments/412572170","html_url":"https://github.com/NethServer/dev/issues/5565#issuecomment-412572170","issue_url":"https://api.github.com/repos/NethServer/dev/issues/5565","id":412572170,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjU3MjE3MA==","user":{"login":"stephdl","id":3164851,"node_id":"MDQ6VXNlcjMxNjQ4NTE=","avatar_url":"https://avatars0.githubusercontent.com/u/3164851?v=4","gravatar_id":"","url":"https://api.github.com/users/stephdl","html_url":"https://github.com/stephdl","followers_url":"https://api.github.com/users/stephdl/followers","following_url":"https://api.github.com/users/stephdl/following{/other_user}","gists_url":"https://api.github.com/users/stephdl/gists{/gist_id}","starred_url":"https://api.github.com/users/stephdl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephdl/subscriptions","organizations_url":"https://api.github.com/users/stephdl/orgs","repos_url":"https://api.github.com/users/stephdl/repos","events_url":"https://api.github.com/users/stephdl/events{/privacy}","received_events_url":"https://api.github.com/users/stephdl/received_events","type":"User","site_admin":false},"created_at":"2018-08-13T16:07:20Z","updated_at":"2018-08-13T16:07:20Z","author_association":"NONE","body":"verified as per comment above"}}
{"actor":{"display_login":"stephdl"}}