Commit graph

221 commits

Author SHA1 Message Date
Patrick Marchand f6755170ce Forgot to delete old man(1) instructions 2018-12-29 04:35:04 +01:00
Patrick Marchand cd5b5adce7 Swich source documentation from markdown to mdoc(7)
mdoc(7) is a better format for man(1) pages and the browser viewable
documentation can be generated with mandoc(1)

	mandoc -T markdown bkctld.8

Moves alot of information around, so it was easier to make one large
commit rather than have bits and bobs of information missing in the
various commits.
2018-12-28 22:16:17 -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
Victor LABORIE 0927e79954 Use cat instead of echo for usage function 2018-03-27 16:31:50 +02:00
Victor LABORIE 8680b742dd Refactoring of logging and notification
* Use logger command, no longer write directly to logfile
* Loglevel can be set in bkctld.conf
* Remove mail notification, cronjob do it when stdout/stderr
2018-03-27 16:14:39 +02:00
Alexis Ben Miloud--Josselin 6548c5a1d8 Remove old logs 2018-03-21 18:06:00 +01:00
Alexis Ben Miloud--Josselin f449ea9b9f Removed useless (old) comment 2018-03-21 18:00:25 +01:00
Victor LABORIE d430740383 Add bats test for NRPE check 2018-03-15 12:41:54 +01:00
Victor LABORIE bde8072941 Refactoring VagrantFile and add test section to README
* nodes are set in an array
* add ext4 nodes in addition to btrfs nodes
* run bats test from nodes
2018-03-15 11:56:20 +01:00
Alexis Ben Miloud--Josselin 135c1df22a Remove unneeded lines 2018-03-14 14:49:25 +01:00
Alexis Ben Miloud--Josselin afc33a4002 Update elasticsearch snapshot 2018-03-09 10:39:59 +01:00
Victor LABORIE 8bfa8e18dd Add basics tests with bats 2018-03-05 16:16:18 +01:00
Victor LABORIE 506b1e94f9 Use run command for bats test 2018-03-05 15:43:36 +01:00
Victor LABORIE 72993de1c2 Use bats for unit test with Vagrant 2018-03-05 15:29:08 +01:00
Victor LABORIE e32c8c31ac Add a Vagrantfile for test with Vagrant 2018-03-05 14:15:23 +01:00
Benoît S. b30e0ef775 Remove mongodump backup dir before dumping
This is mandatory, elsewhere you'll retain old DBs/collections dumped.
2018-02-13 11:57:29 +01:00
Gregory Colpart 0b9049b568 Improve mysqldump in zzz_evobackup (thanks Bruno for the idea) 2018-02-08 01:44:14 +01:00
Victor LABORIE 3b40cb19d9 Fix bkctld logging on non interactive usage 2017-12-04 11:49:45 +01:00
Victor LABORIE 1b2491e201 Fix docs and README for zzz_evobackup 2017-12-04 10:56:45 +01:00
Daniel Jakots 5819a00ada zzz_evobackup is not part of the documentation... 2017-11-13 16:28:34 -05:00
Jérémy Lecour f7b8e96547 zzz_evobackup: fix arithmetics
09 % 2 is invalid
2017-10-09 11:34:18 +02:00
Gregory Colpart 7c04155fe8 add exclude for default php sessions path for Debian 9 2017-09-29 09:51:17 +02:00