Valentin Lab
e9720214a8
chg: [vps] wrap database output upon success when using ``set-cyclos-url`` !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
0e7f5621b8
new: [vps] add ``vps cyclos unlock`` command to release lock on database
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
2a26c75764
fix: [vps] support of services not using a frontend to command requiring url
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
ffa0edeec3
new: [0km] allow ``vps-setup`` to bypass domain type check and force domain name change
Print an additional warning message to clarify why domain name is not
changed and how to force the change.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
e19ad5163b
new: [0km] add consistency check to ``vps-setup`` for content of ``/etc/hostname`` and output of ``hostname``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
f44aae4a42
new: [0km] output remote error when failing command `vps install backup`
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
85e9c32830
fix: [0km] improve logging of favorable outcome for port checking openness
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
69a6416ae0
new: [vps] make {odoo,cyclos} actions are compatible with more general environments
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
c58d681e48
new: [vps] add ``cyclos {dump,restore,set-root-url}`` commands
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
6ab329efb6
fix: dev: spurious space !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
c2bcf37a7b
fix: [myc-manage] make update fail if ``myc-manage`` repository was modified
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
1cbff5305e
new: add ``vps odoo {restart,dump,restore,set-cyclos-url}`` commands
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
d0ed50abd9
new: [vps-install backup] add a warning about vps unexpected failure upon identifying vps type
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
b23aa56680
fix: [vps-setup] make password login work
The ``stdin`` was blocked for sshpass to read it
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
4f0baf8100
fix: dev: comment out some debug info !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Valentin Lab
1696cda181
fix: [0km] better check to see if compose need to be launched
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
3 years ago
Nicolas JEUDY
0438717e60
chg: remove registration to ``git.panda-chi.io`` docker registry
4 years ago
Valentin Lab
474cb1733e
new: [0km] add support of component partial backup restore
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
07e13bb313
new: [0km] add support for file/path based partial recovery
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9668d9d326
fix: [0km] remove last direct ssh access to backup server
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a32c5f9a43
chg: [0km] use new ``ssh-key`` api ``get-type`` to discover type of backup
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
278d3822ca
new: [vps] use ssh key commentary to store compose type
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1c3fc4134c
new: [recover] add action to restore a full mailcow VPS
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d6cc106547
fix: doc: small typos and spaces concerns !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
c6f4ef4f92
new: [vps] add ``recover-target`` action to recover files/directory from backup
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
43e8c6a288
chg: dev: [vps] fail early on unexpected errors due to misconfigured ``compose.yml``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
906ba8080e
chg: [vps] spacing issues !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
aa45f476e9
chg: [vps] be slightly more informative about what to do with last command !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9a2dbceeed
new: [vps] allow usage of ``backup-*`` options on ``install backup``
Also, ``--ignore-ping-check`` is also available on the ``mailcow``
side as the check was also added.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5901c4ff45
new: [0km] add ``vps-install backup`` which handle all stage of backup
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
1e4c9eeba2
fix: [0km] allow NUL characters to be sent to inner sub command when muxing
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
e4b723614e
fix: dev: [0km] return failing errorlevel on checks
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
242aa6080a
chg: [0km] better logs when opening ssh fails
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
c6ac7207b6
fix: dev: [0km] typos and comments !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
f5abe72f07
fix: dev: [vps] duplicate line !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
d2fce27050
fix: dev: [vps] try to be consistent and allow common parsing by ``0km``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
8bfb8fa80b
chg: [vps] domain check supports ``server-aliases`` and service name as domain
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9d06ab4ead
fix: dev: [vps] insert line return in error message for clarity !minor
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
ca873f5c1b
new: [vps] new instructions for registering new backup in backup host
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
39ada47501
new: [vps] updated final command to run after installation of backup
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
cff1d78b45
fix: do not install ``docker-compose`` if already present
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
61e8483673
new: [vps] common backup process between ``mailcow`` and ``compose`` installs
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
76b5a506a7
new: [vps] add mailcow installation
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
45cc7556bf
fix: [myc-check-and-launch-backup] prevent launch from external host through ssh
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
4966fded3d
new: [0km] add ``vps-{space,update,mux}`` commands.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
599259bcdc
new: [vps] add local command ``vps``
This command is intended to be run from the local vps being
targeted.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
5a3c30586e
new: [0km] ``vps-check`` action added
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
7a2405a2ab
fix: [myc-update] bail out when charm apply fails.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9f05a0e048
fix: [0km] would not read more than one key
This is due to ``ssh`` eating available standard input.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
12aa1adcbc
new: [0km] new command
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago