Valentin Lab
b2725f4eed
new: [rsync-backup] add ``compose.yml`` to backup
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
77bf4c4c41
new: [rsync-backup-target] allow ``-d|--dirs`` rsync mode
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d84472a277
new: [rsync-backup-target] add ``ssh-key get-type IDENT`` to get backup type info
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
dfb2a6a7b5
new: [rsync-backup] use key commentary to store backup type
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
2f028f54b2
chg: [mariadb] move schema dump in alphabetical front of data dumps
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
ebd2dd78e0
fix: [rsync-backup] prevent strict host checking
This security measure is inappropriate here as it will make all client
refuse to backup whenever a new docker image is rebuild.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
be42bd9076
new: [rsync-backup-target] add recover key mechanism
This allows to get a one-time credential to have read access on
specified backup slot.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
85eb2f0fa5
fix: dev: typo !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5b5051004b
fix: [rsync-backup-target] service would not be restarted upon admin key change
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
57fd9d0abb
fix: [rsync-backup-target] disallow using same key for different ident in any admin account
As key will map authorization to a specified directory, we can't allow
having 2 keys pointing to 2 different directories. This must be enforced.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
65dbe2766a
new: [rsync-backup-target] accept restore commands
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
598ba25f64
new: [rocketchat] update to version ``3.14.0`` ( fixes #14 )
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
2a7ede1138
chg: [cyclos] updated dump with translation and nfc
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1ee8e434cb
fix: [cyclos] fails in case of nonexistent directory
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
2bac396242
new: [rsync-backup-target] backup groups allow key management delegation
Each backup endpoint is now part of a backup group. Each backup group
can be managed by ad-hoc and separate account.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a0a5679117
new: [rsync-backup-target] allow dynamic management of backup keys
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9322e187b9
new: [cyclos] NFC enabled init
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
357673f98f
new: [docker-host] compatibility with debian 9
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
e8c9e387eb
new: [cyclos] loading a default database for preconfiguration
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0c6e2e6496
fix: dev: [host] was failing if ``$NO_DOCKER_RESTART`` was not set
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f6babaf98c
new: [host] allow long bash history conservation and saving of all commands, added fzf
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d116de79e8
fix: dev: [host] on debian 9, ``setuptools`` was not installed and required
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
3fdd628f66
fix: dev: [host] we don't always have ``kal-shlib`` when executing this
We want to be able to take these script maybe independently, in
this light, we can't use ``kal-shlib``'s facilities.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d3f9028aee
new: dev: [host] added ``$NO_DOCKER_RESTART`` variable to disable restarting docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5ed8035520
fix: dev: removed ``--force-yes`` everywhere as it is deprecated
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f2d61037b0
fix: [docker-host] don't touch an already installed version of docker
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1e0bbda43b
chg: [mariadb] prefer a symbolic link than a copy
This is to be consistent with ``mirror-dir`` executable installation, and
to avoid one step when updating VPS: you need only up-to-date ``0k-charms``
and no need to re-install host backup through this script to get update
of ``mysql-backup`` script.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
93926fef3c
fix: [mariadb] ensure using the ``--host`` method
This comes from the mysql script. And it'll be required as we need this
script for hosts installs.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
908011fc1d
fix: [rsync-backup-target] force restart when config changed
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
435ef3da11
fix: [host,rsync-backup] ensure ``kal-shlib``'s are installed
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
ae657c89f8
new: [mariadb] added mysql's backup install script with debian 10 compatibility
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
39b5363d7e
new: [rsync-backup] rewrite of mirror-dir
Includes ``mirror-dir-check`` with the ``mirror-dir check`` call, the
replacement of ``mirror-dir`` call is ``mirror-dir backup``. An additional
``mirror-dir report`` was added.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
674f71bba3
new: [rsync-backup-target] add rotated logs for ssh validation and each rsync session
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
7c83ad0b97
new: [host] minimal host backup config
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
93ec99f21f
new: [host] add cron to ``mirror-dir-check`` call
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
48678f64e9
fix: [host] ``shorewall`` installation on debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
84b271b344
fix: [host] ensure to use the full ``kill`` binary
In some circumstances a call to ``kill`` will trigger the
builtin of your shell and could not support given options.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
6a221ea964
fix: [host] ``/etc/resolv.conf`` does not support comments
And search configuration is not required.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
deea56bd50
new: [host] add explicit installation of ``bind9``
This is required in debian 10
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
0878a98dd2
fix: [host] ``dnsmasq`` configuration upgrade
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
4f4c41caa9
fix: [host] backup scripts will require ``pick2del_backups`` to be available
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d7488054f4
fix: [host] corrected typo in inserted comment of ``/etc/compose/local.conf`` !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1da56fd41e
new: [host] check if curl is already installed
This was needed in debian 10.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a58f06ebc9
new: [host] debian 10 lxc configuration
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
33c92f3be6
new: [host] new dependencies for ``btrfs-tools``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
ce72c00f50
fix: [cron] use our cache server
``docker.io`` is not responding and this might happen again anyway
and our policy is to not depend from other servers.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
4e67b4ba62
fix: [onlyoffice] would not save back changes to nextcloud
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
3286d68201
chg: [postgres] change ``backup`` relation from ``optional`` to is ``recommended``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
3ecad191e9
fix: [rsync-backup-target] ensure that non data output of ``compose-add-rsync-key`` is cast on stderr
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
ff87489be8
chg: [rsync-backup-target] use color when outputing diff when available
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago