Commit graph

633 commits

Author SHA1 Message Date
Jérémy Lecour af68d9951b zzz_evobackup: reorder rsync excludes 2020-09-15 10:14:04 +02:00
Jérémy Lecour 69146f1f9f remove /srv from default directory list 2020-09-01 18:41:16 +02:00
Jérémy Lecour a774b639ea Upstream release 2.4.1
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-28 10:26:43 +02:00
Jérémy Lecour 5de37c8eb7 Merge branch 'master' into debian 2020-08-28 10:23:45 +02:00
Jérémy Lecour 1b9c56dbfd Release 2.4.1 2020-08-28 10:23:10 +02:00
Jérémy Lecour 7d1964370d jails and incs lists are sorted alphanumerically 2020-08-28 10:21:13 +02:00
Jérémy Lecour 349c488e56 Add coreutils dependency 2020-08-28 10:00:28 +02:00
Jérémy Lecour 39901967a7 bkctld-check-setup: forgot to increment the summary 2020-08-20 14:50:09 +02:00
Jérémy Lecour e317591454 Upstream release 2.4.0
All checks were successful
continuous-integration/drone/push Build is passing
2020-08-19 14:10:10 +02:00
Jérémy Lecour cb06825b0b Merge branch 'master' into debian 2020-08-19 14:08:29 +02:00
Jérémy Lecour e5d40f8fe4 Release 2.4.0 2020-08-19 14:08:01 +02:00
Jérémy Lecour 08a2e067c2 bkctld-check-setup: remove "set -x" 2020-08-19 14:01:57 +02:00
Jérémy Lecour bc6a571595 whitespaces for readability 2020-08-19 13:58:23 +02:00
Jérémy Lecour ea9aac50a3 explicit path refix for ssh-keygen 2020-08-19 13:58:03 +02:00
Jérémy Lecour 1063dfe74d bkctld: don't replace SSH host keys when creating/updating a jail 2020-08-19 13:57:18 +02:00
Jérémy Lecour c141986a6d create new ssh keys for new jails instead of copying those from the host
It increases the security by having different keys between jails.
It reduces the risk of changing the keys of jails after creationtheir 
creation.
2020-08-07 14:24:20 +02:00
Jérémy Lecour 1f29162da4 evobackup script timeout defaults to 90 seconds 2020-07-22 23:00:27 +02:00
Jérémy Lecour 3a6e21dce8 use ${LOCAL_BACKUP_DIR}/mysql/ instead of /home/mysqldump/ 2020-07-16 22:20:05 +02:00
Jérémy Lecour 251d0c14d6 zzz_evobackup: add template for multiple redis instances 2020-07-16 22:16:34 +02:00
Jérémy Lecour 0ad1e8d342 Split check into check-jails and check-setup
bkctld-check-setup checks if the partition is mounted and writable, if 
firewall is configured and if all jails are started
2020-07-10 14:34:06 +02:00
Jérémy Lecour d07b493131 bkctld-update: start jail after upgrade if it was started before 2020-07-09 17:14:49 +02:00
Bruno TATU 049bdb9216 add --relative to rsync from zzz_evobackup 2020-06-09 10:59:23 +02:00
Jérémy Lecour 505e0f7f53 New command bkctld upgrade-config
It moves the legacy config file "/etc/evobackup/<jail>" to the new 
config structure "/etc/evobackup/<jail>.d/incs_policy"
2020-05-28 11:11:59 +02:00
Jérémy Lecour 9ff389cbcf Upstream release 2.3.3
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-28 10:27:48 +02:00
Jérémy Lecour ebbca02db5 Merge branch 'master' into debian 2020-05-28 10:26:10 +02:00
Jérémy Lecour 67bbb5c100 Release 2.3.3 2020-05-28 10:24:47 +02:00
Jérémy Lecour 505bdb9117 On sync, add trailing slash to rsync command 2020-05-28 10:22:34 +02:00
Jérémy Lecour 838ada399c Upstream release 2.3.2
All checks were successful
continuous-integration/drone/push Build is passing
2020-05-03 11:22:23 +02:00
Jérémy Lecour 35ffad0ee1 mention debchange in the debian documentation 2020-05-03 11:22:08 +02:00
Jérémy Lecour 64144d9462 Merge branch 'master' into debian 2020-05-03 11:15:06 +02:00
Jérémy Lecour 80fb38d534 Release 2.3.2 2020-05-03 11:13:55 +02:00
Jérémy Lecour b659e9d8c5 better sync
* add/remove config files to mirror source
* restart minifirewall only if present
* sync state with proper action
2020-05-03 11:03:04 +02:00
Jérémy Lecour df180e4d03 Update CHANGELOG 2020-05-01 10:34:35 +02:00
Jérémy Lecour 3ac79da9b2 bkctld-sync: don't sync whole firewall file, just rules for jail 2020-05-01 10:33:06 +02:00
Jérémy Lecour 8311e33c76 join arguments in ssh command 2020-05-01 10:31:46 +02:00
Jérémy Lecour 8ed06511d9 bkctld-sync: don't init jail if it already exists 2020-05-01 10:31:20 +02:00
Jérémy Lecour 9cd94dabc2 An empty lock file shouldn't stop the program 2020-05-01 09:52:06 +02:00
Jérémy Lecour ebfc16f65a grammar 2020-05-01 09:51:47 +02:00
Jérémy Lecour b3529f2131 bkctld-is-on returns code 100 if jail is stopped 2020-05-01 09:51:36 +02:00
Jérémy Lecour 64ec60428d error() function accepts an optional return code 2020-05-01 09:51:09 +02:00
Jérémy Lecour 807dd44408 Display help message if mandatory arguments are missing 2020-04-25 10:30:21 +02:00
Jérémy Lecour 1cbb982d02 extract functions in test helpers 2020-04-25 10:29:00 +02:00
Jérémy Lecour f8395cf445 Release 2.3.1 2020-04-22 08:17:02 +02:00
Jérémy Lecour 5d22960dab Debian release 2.3.1-1
All checks were successful
continuous-integration/drone/push Build is passing
2020-04-22 01:19:06 +02:00
Jérémy Lecour 11a8b7e32d Merge branch 'master' into debian 2020-04-22 01:18:11 +02:00
Jérémy Lecour 323146d6c3 Release 2.3.1 2020-04-22 01:17:53 +02:00
Jérémy Lecour 7a0d25d1f9 clean repository after mk-build-deps 2020-04-22 01:14:54 +02:00
Patrick Marchand 806714c9b6 Merge pull request 'Fix quoting and escaping shellcheck errors' (#38) from shellcheck-escapes into master
Quieter output from shellcheck, does not break the script or introduce functional changes.
2020-04-21 15:05:09 +02:00
Jérémy Lecour fa109e216b Give the pid of the new process 2020-04-21 09:03:18 +02:00
Jérémy Lecour 4829232a65 quote variable 2020-04-21 09:03:01 +02:00