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
95fef804a3
fix: doc: some phrasing corrected in backup instructions
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
ee9276bf5c
fix: doc: a reference to deleted script =mailcow-backup-install= was still remaining
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
a20e8b9440
new: doc: update documentation about =mailcow= standard deployment
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
8a04a64b4d
chg: doc: add ``-R`` to ``compose-add-rsync-key`` call in backup script
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
f95bbb628b
new: doc: prevent checking key for backup script
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
c743c25140
new: doc: add information on config file for ``0km``
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
149498945c
chg: doc: add mention of compatibility with debian 10
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
6537181ab5
new: doc: add install script of ``st`` to connect to VPS
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
69cedb5576
fix: obvious sectioning issue for entry about ``apache`` in ``postgres`` section.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
4 years ago
Valentin Lab
09310a3649
new: doc: how to repair postgres database upon corruption
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>
5 years ago
Valentin Lab
e5ab06a200
new: [mailcow-backup-install] new script
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
8fe83587f1
new: instruction for backups of non-compose based solution
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
079c398030
new: added ``rsync-backup`` instructions to add backup to services.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
5 years ago
Valentin Lab
2b715fe85b
new: pkg: added licence info
5 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