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
3 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
Valentin Lab
03f4416b61
new: [myc-root-allow-0k-admin] add script to allow ssh access to 0k-admin on root account
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
737ffe31fc
new: [myc-check-and-launch-backup] new script for checking backup installation
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
c42b6a6404
fix: invalid version of ``pyrsistent`` is breaking install.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
9d213328af
new: [myc-install] will install ``docker-clean`` in cron.
It was removed from ``host`` charm, and need to be removable
if needed.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
e5ab06a200
new: [mailcow-backup-install] new script
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
e484a14d8c
fix: [install] bailout if ``docker-host`` script failed
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
b4f21db427
fix: still using ``git.panda-chi.io`` docker registry in ``odoo-tecnativa`` image.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
8e5b8380ec
fix: change name from ``pandachi`` to ``myc``.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
452ff07dc5
fix: ensure to quit after pip failure and install wheel to remove confusing error message
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
6e2b5829e4
fix: [install] bug after installing ``pip``
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
cff2c00889
fix: [install] new issues with some new python dependency changes
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
ff3f3c49a5
new: [pandachi-install] ``pgm`` allows overriding default PGUSER and PGHOST.
5 years ago
Valentin Lab
d8a930123a
chg: dev: [pandachi-install] streamline installation and update in functions
5 years ago
Valentin Lab
7cc24f29ff
new: [pandachi-install] myceliandre docker registry and git access.
5 years ago