Commit graph

804 commits

Author SHA1 Message Date
Jérémy Lecour 76a298c042 bkctld-rm: delete empty jails in incs directory 2020-11-13 15:33:18 +01:00
Jérémy Lecour f9018738b9 tests: use FORCE flag to remove jail in tests 2020-11-13 15:32:19 +01:00
Jérémy Lecour 3c5a646ae3 bkctld-rm: list jails from incs directory
We list jails in "incs" directory, not in "jails" directory so we can 
clean old incs after a jail is archived
2020-11-12 18:35:41 +01:00
Jérémy Lecour bf56c16ed2 bkctld-remove: confirmation before removal of jails if not in force mode 2020-10-11 15:19:00 +02:00
Jérémy Lecour 2ccd8c1b8d add a [-f|--force] option to remove confirmation on some commands 2020-10-11 14:57:47 +02:00
Jérémy Lecour 9eae80c002 globally disable shecllcheck SC2034 in lib/includes
Many variables defined in this file are not used here.
2020-10-11 14:56:22 +02:00
Jérémy Lecour 05c3715c6a Better help message composition and formating 2020-10-11 14:53:26 +02:00
Jérémy Lecour 653653cda0 Upstream release 2.6.0
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-07 20:52:44 +02:00
Jérémy Lecour 4e4f58a8ad Merge branch 'master' into debian 2020-10-07 20:51:42 +02:00
Jérémy Lecour 2ad1032f9d Release 2.6.0 2020-10-07 20:51:29 +02:00
Jérémy Lecour c1fbe6394f Add "version" and extract "help" options 2020-10-07 20:50:17 +02:00
Jérémy Lecour 15535f5b06 Upstream release 2.5.1
All checks were successful
continuous-integration/drone/push Build is passing
2020-10-07 18:36:33 +02:00
Jérémy Lecour b12b894540 Merge branch 'master' into debian 2020-10-07 18:35:15 +02:00
Jérémy Lecour 6fe81c7077 Release 2.5.1 2020-10-07 18:35:00 +02:00
Jérémy Lecour cf95909f0b bkctld: Replace xargs with a simple loop 2020-10-05 11:36:02 +02:00
Jérémy Lecour 88899fb0fe fix bad destination directory for mysql backups 2020-09-25 15:53:13 +02:00
Jérémy Lecour 5a9d695c7c Upstream release 2.5.0
All checks were successful
continuous-integration/drone/push Build is passing
2020-09-25 14:16:32 +02:00
Jérémy Lecour 92a9541379 Merge branch 'master' into debian 2020-09-25 14:15:53 +02:00
Jérémy Lecour 08d113d2ce Release 2.5.0 2020-09-25 14:13:20 +02:00
Jérémy Lecour 2057a6fd80 Restore compatibility with Debian <10
ssh-keygen has "-f prefix_path" in openssh-server version 7.9+
2020-09-25 14:12:12 +02:00
Jérémy Lecour 9f5a4066ee zzz_evobackup: exclude LXC rootfs 2020-09-15 14:08:20 +02:00
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