Commit graph

346 commits

Author SHA1 Message Date
Jérémy Lecour 7ddabb23ca Extract a LOCAL_BACKUP_DIR variable 2019-04-03 20:52:36 +02:00
Jérémy Lecour 933b0c6842 Merge branch 'multi-servers-fallback' of evolix/evobackup into master 2019-04-03 11:54:44 +02:00
Jérémy Lecour 305655faa6 revert some quotes and braces 2019-04-01 22:16:13 +02:00
Jérémy Lecour c8e7977b27 revert variable extraction 2019-04-01 14:38:48 +02:00
Jérémy Lecour c82e77f6ee Add documentation comments to test_server and pick_server functions 2019-04-01 14:37:57 +02:00
Jérémy Lecour d741041e4c give SSH more time before failing 2019-04-01 14:23:26 +02:00
Jérémy Lecour ab3ed48f22 don't quote this vaiable ; it's a list ! 2019-03-31 22:09:53 +02:00
Jérémy Lecour abbb20e5d4 shorter lines for section titles 2019-03-31 21:59:59 +02:00
Jérémy Lecour 92d6b8af87 more braces and quotes 2019-03-31 21:58:01 +02:00
Jérémy Lecour dac06e0858 message in english 2019-03-31 21:57:46 +02:00
Jérémy Lecour e852827d9a reorganize sections or the script 2019-03-31 21:53:07 +02:00
Jérémy Lecour 34476ac7c7 whitespaces 2019-03-31 21:32:09 +02:00
Jérémy Lecour 1376771e83 shellcheck fixes 2019-03-31 21:30:07 +02:00
Jérémy Lecour b1f46bc866 Add braces around variables 2019-03-31 21:27:10 +02:00
Jérémy Lecour ab57f64d93 Extract a LOCAL_BACKUP_DIR variable 2019-03-31 21:26:52 +02:00
Jérémy Lecour b5f1e13685 Add logic to have multiple available servers
SERVERS contains 1 or more servers to send backup files to.
Each day a primary backup server is chosen.
If it's not available the script falls back to the next server, and the 
next…
2019-03-31 21:25:33 +02:00
Jérémy Lecour 3300c3df60 Add a check-incs.sh script 2019-03-29 18:20:46 +01:00
Victor Laborie 6f8217001e Merge branch 'add-NODE-in-default-config-file' of evolix/evobackup into master 2019-03-19 18:01:33 +01:00
Benoît S. 07f324bc7c bkctld.conf: Add NODE by default 2019-03-18 16:50:06 +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 0044d6ed4b Merge branch 'use-mdoc' of evolix/evobackup into master 2019-01-29 16:53:11 +01:00
Patrick Marchand 77fe70aa70 Fix default bkctld.conf path in docs 2019-01-29 10:48:52 -05:00
Patrick Marchand c23d0d90da Merge branch 'master' into use-mdoc 2019-01-28 17:54:32 -05:00
Benoît S. 3222ee3145 Break line after every contributor name 2019-01-28 17:51:41 -05:00
Benoît S. cdcedbd141 Break line for contributors header infos 2019-01-28 17:51:41 -05:00
Victor LABORIE 835ccc5729 Fix shell error on vagrant provision 2019-01-28 17:51:41 -05:00
Victor LABORIE 29f4fd6e96 Do not create dirs in bkctld script 2019-01-28 17:51:41 -05:00
Victor LABORIE 023fbd18ba Use bkctld-list script for jails listing 2019-01-28 17:51:41 -05:00
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
Victor Laborie f72a0c9213 Merge branch 'break-linnes-header-infos' of evolix/evobackup into master 2019-01-23 10:59:25 +01:00
Benoît S. 2b911cff1d Break line after every contributor name 2019-01-21 14:44:30 +01:00
Benoît S. c25db32a45 Break line for contributors header infos 2019-01-21 14:42:02 +01:00