Commit graph

240 commits

Author SHA1 Message Date
Victor LABORIE cba53d8ae7 Transform bkctld SysVinit script into systemd oneshot service 2019-01-28 17:51:41 -05:00
Victor LABORIE f535b77f93 Use lastlog in sshrc 2019-01-28 17:51:41 -05:00
Victor LABORIE 43abccd6a4 Rewrite bats test 2019-01-28 17:51:41 -05:00
Victor LABORIE 09adad03e3 Subcommand list are now dynamic in bash completion 2019-01-28 17:51:41 -05:00
Victor LABORIE 084c7653dd Move logging functions into config 2019-01-28 17:51:41 -05:00
Victor LABORIE 3cb0bea28e Remove check_jail function 2019-01-28 17:51:41 -05:00
Victor LABORIE 79e0d28dcc Move check_jail_on functions into bkctld-is-on script 2019-01-28 17:51:41 -05:00
Victor LABORIE 18b44ce958 Fix help output (command can have dash) 2019-01-28 17:51:41 -05:00
Victor LABORIE c9dcca1a77 Remove get_inc function 2019-01-28 17:51:41 -05:00
Victor LABORIE d47b21343b Fix typo in bkctld-stats 2019-01-28 17:51:41 -05:00
Victor LABORIE ff65126537 Move usage functions into bkctld-help script
* Usage output is now auto-generated
2019-01-28 17:51:41 -05:00
Victor LABORIE 54261e7bcc Move firewall functions into bkctld-firewall script 2019-01-28 17:51:41 -05:00
Victor LABORIE 503ecf23f5 Merge bkctld-params and some functions into bkctld-(ip|port|key) scripts 2019-01-28 17:51:41 -05:00
Victor LABORIE 51f25080d3 Parallelize bkctld <subcommand> all 2019-01-28 17:51:41 -05:00
Victor LABORIE 0ff5d216a9 Fix typo in bkctld-update 2019-01-28 17:51:41 -05:00
Victor LABORIE e788aa152a Drop Debian Jessie support 2019-01-28 17:51:41 -05:00
Victor LABORIE e960946285 Split bkctld into multiples scripts 2019-01-28 17:51:41 -05:00
Patrick Marchand 3af8ac1510 Improved README.md and adjacent files.
* Fixed the english in README.md and docs/debian.md
 * Moved installation instructions from README.md to docs/install.md
 * Reworked the rest of README.md
 * Added a few comments to bkctld.conf
2019-01-28 17:51:41 -05:00
Patrick Marchand 15fa2dab0f Improved documentation for example script
Added the description of variables to change into the zzz_evobackup
script comments and updated the path to the repository.
2019-01-28 17:51:41 -05:00
Patrick Marchand eda30a013c Switch documentation to mdoc(7)
Markdown is not a suitable language for technical documentation.
2019-01-02 13:45:21 -05:00
Patrick Marchand 15819ca867 Split docs/usage.md into 3 files.
One for incremental configuration, one for bkctld.conf, and one for usage.
2019-01-02 13:40:33 -05:00
Victor LABORIE ee34be5fec btrfs is now in /bin 2018-12-04 16:11:00 +01:00
Victor LABORIE f1be9e7132 Check if disk is mounted in bkctld check 2018-11-29 17:04:40 +01:00
Alexis Ben Miloud--Josselin eb85dc6175 Add clusterized elasticsearch snapshots 2018-11-21 14:32:38 +01:00
Gregory Colpart 81e79b1aaa add packages available for restauration 2018-08-25 00:02:00 +02:00
Gregory Colpart 83155a8de4 unlimited width for ps command 2018-08-25 00:00:31 +02:00
Gregory Colpart cb186dc775 Force chmod 700 for all mkdir 2018-08-20 23:12:36 +02:00
Benoît S. f369615a2f Exclude the sys database from mysql dump 2018-08-14 14:46:03 +02:00
Jérémy Dubois 664a424aee Send traceroute stderr to stdout
OpenBSD sends its first line of information into stderr
2018-07-25 19:05:26 +02:00
Jérémy Dubois d69a015025 Revert "/srv is not on BSD systems"
This reverts commit 853f6dff21.
Paths in systems variable are always backed up, that is not the case of /srv.
We have to manually remove /srv when we do not want it.
2018-07-16 16:04:43 +02:00
Jérémy Dubois 853f6dff21 /srv is not on BSD systems 2018-07-16 11:54:11 +02:00
Jérémy Dubois 391ef207f7 Add PATH, which is needed for BSD systems 2018-07-16 11:53:23 +02:00
Victor LABORIE 958eeb8776 Use absolute PATH for btrfs command
* Because command -v fail in some cases
2018-07-04 14:48:36 +02:00
Victor LABORIE 1b3b68ba16 Fix last update date of stats index file 2018-06-13 18:21:31 +02:00
Victor LABORIE a835491703 Add incs info to stats 2018-06-13 18:01:43 +02:00
Victor LABORIE f780d4d94a Add stats subcommands 2018-06-13 15:22:21 +02:00
Victor LABORIE ce674490f7 Add bats test for generate jails with different times 2018-05-30 18:33:36 +02:00
Victor LABORIE b1400c83b6 Better bkctld check output 2018-05-30 18:30:15 +02:00
Victor LABORIE dcba6d5634 Merge check_nrpe into bkctld check subcommand 2018-05-30 16:39:26 +02:00
Victor LABORIE f6aca343fb Add doc for Debian packaging 2018-05-30 15:22:17 +02:00
Victor LABORIE 1bc4530430 Convert bkctld man page in a markdown file 2018-05-30 15:21:54 +02:00
Benoît S. 86711f2234 Merge branch 'update_es_backup' 2018-04-05 16:26:22 +02:00
Benoît S. bc1012b091 Modification commentaire 2018-04-05 16:24:18 +02:00
Alexis Ben Miloud--Josselin 7a9e4c6168 Simplify and store deletion logs in /tmp 2018-04-05 16:02:07 +02:00
Victor LABORIE d27bbbc0f5 Rewrite bats tests 2018-03-28 15:11:49 +02:00
Victor LABORIE 2893953ec0 Reload when update params 2018-03-28 14:09:22 +02:00
Victor LABORIE 685b70b632 Fix reload 2018-03-27 18:35:06 +02:00
Victor LABORIE 3c12286704 Double quote all vars and add brackets 2018-03-27 18:22:31 +02:00
Victor LABORIE fa27759cad Force variables definition and add a set -u 2018-03-27 17:11:25 +02:00
Victor LABORIE d565374c5d Retab 2018-03-27 16:39:03 +02:00