Commit graph

20 commits

Author SHA1 Message Date
Jérémy Lecour 9c6be0e74c bkctld-rm: fix inc removal
echo-ing the list of incs gives a single line, hard to match with lines 
in the keep file.
We store the incs list in a temp file to help comparing contents.
2020-04-12 11:45:21 +02:00
Jérémy Lecour 3198ba7f37 bkctld-rm: log incs to be deleted 2020-04-11 08:41:04 +02:00
Jérémy Lecour d29743357a rename function for ext4 filesystems 2020-04-05 11:41:41 +02:00
Jérémy Lecour c920e91304 improve incs policy parsing 2020-04-02 23:52:27 +02:00
Jérémy Lecour f36771d1f0 bkctld-rm: kill existing processes
Ifa process is still removing incs when a ew one starts, the newest 
kills the other to start again.
2020-04-02 18:30:52 +02:00
Jérémy Lecour c58878b065 extract functions for config files 2020-04-02 18:26:53 +02:00
Jérémy Lecour 7a040bac20 better log messages 2020-04-02 14:50:55 +02:00
Jérémy Lecour 1652ebeb67 fix shecllcheck source directives 2020-04-02 13:44:13 +02:00
Jérémy Lecour 779dd9c518 use new conventions 2020-04-02 01:17:11 +02:00
Jérémy Lecour 01cc972d83 rename lib/config to lib/includes 2020-04-02 00:31:57 +02:00
Jérémy Lecour e9e8a790ba refactor check, inc, rm subcommands
function extractions
variables extractions
comments
2020-04-01 18:44:38 +02:00
Jérémy Lecour e7e3683944 fix shellcheck source directive 2020-04-01 11:23:35 +02:00
Jérémy Lecour 018392e8e3 bkctld-rm: add support for the "new" canonical path for incs policy 2020-04-01 09:13:57 +02:00
Jérémy Lecour 10cc3695a4 Add some shellcheck directives for config source 2020-04-01 07:31:33 +02:00
Victor LABORIE 0a6b5c1b80 Do not run inc / rm in background when not using btrfs 2020-03-09 16:08:17 +01:00
Victor LABORIE ed83404806 Add lock for bkctld inc / rm when not using btrfs (Fix #32) 2020-03-05 14:49:25 +01:00
Victor LABORIE ae883e8ed0 Use mktemp for keepfile and rm it after usage (Fix #9) 2019-02-18 11:32:28 +01:00
Victor LABORIE 183bc05ec4 Use bkctld-list script for jails listing 2019-01-08 16:23:46 +01:00
Victor LABORIE 0272c43751 Move usage functions into bkctld-help script
* Usage output is now auto-generated
2019-01-07 14:47:07 +01:00
Victor LABORIE e062a05a4b Split bkctld into multiples scripts 2019-01-04 13:52:15 +01:00