Latest updates for backup testing

This commit is contained in:
Wojciech Kozlowski 2024-04-20 20:01:21 +02:00
parent 4a5bc28063
commit e276a05a3f
3 changed files with 10 additions and 3 deletions

View File

@ -147,10 +147,12 @@ The easiest way to set these values is with Python's `keyring.set_password`.
### Testing the backups
1. Log into the `baldur`. Testing from a VM (as opposed to a regular workstation) is important to
1. Stop all services on `yggdrasil` to prevent accidental connections to the live services which
defeats the point of testing backups.
2. Log into the `baldur`. Testing from a VM (as opposed to a regular workstation) is important to
prevent live applications from accidentally connecting to `baldur`.
2. Modify `/etc/hosts` in the VM to point at `rproxy` (e.g., `10.66.3.8`) for all relevant domains.
3. Test each service manually one by one. Use the Flagfox add-on to verify that you are indeed
3. Modify `/etc/hosts` in the VM to point at `rproxy` (e.g., `10.66.3.8`) for all relevant domains.
4. Test each service manually one by one. Use the Flagfox add-on to verify that you are indeed
connecting to `baldur`.
### Cleaning up

View File

@ -77,3 +77,6 @@ services_host_services:
inet_address: "{{ vpn_bridge_inet_prefix }}.11"
inet6_address: "{{ vpn_bridge_inet6_prefix }}::11"
restic: false
services_host_rproxy_inet_address: "{{ services_all_services.lrproxy.inet_address }}"
services_host_rproxy_inet6_address: "{{ services_all_services.lrproxy.inet6_address }}"

View File

@ -106,6 +106,8 @@
tags:
- "services:setup"
- "services:setup:system"
vars:
services_setup_system_containers_storage_fuse_overlay: "{{ 'zfs' in group_names }}"
tasks:
- name: "setup : user"