Create a deployment migration string #77

Open
opened 2025-01-27 13:18:52 +01:00 by fricklerhandwerk · 0 comments

As an operator,
given I want to migrate to a different Fediversity environment (#100),
I want to take my data out of the old environment,
so that I may move it to the new one (#78).

implementation notes

steps needed:

  1. presuming the migration target host differs from the source host, from the source host:
    1. create a back-up (#123)
    2. create a back-up bucket key (nix) (c.f. #123) accessible by the new host
  2. create a migration string, a JSON representation of the migration data model entry (#514), containing:
    1. to reproduce the deployment, the deployed (panel: + staged?) configuration
    2. the application state, i.e. the endpoint to the back-up on the created bucket along with its access/secret key taken from the earlier step
**As** an operator, **given** I want to migrate to a different Fediversity environment (#100), **I want** to take my data out of the old environment, **so that** I may move it to the new one (#78). ## implementation notes steps needed: 1. presuming the migration target host differs from the source host, from the source host: 1. create a back-up (#123) 1. [create a back-up bucket key](https://garagehq.deuxfleurs.fr/documentation/quick-start/#creating-buckets-and-keys) ([nix](https://git.fediversity.eu/Fediversity/Fediversity/src/commit/09119803e8731b123313641bbfc5a81d16b78f0f/services/fediversity/garage/default.nix#L70-L72)) (c.f. #123) accessible by the new host 1. create a migration string, a JSON representation of the migration data model entry (#514), containing: 1. to reproduce the deployment, the deployed (`panel`: + staged?) `configuration` 1. the application state, i.e. the endpoint to the back-up on the created bucket along with its access/secret key taken from the earlier step
fricklerhandwerk added the
type: user story
label 2025-01-27 13:18:52 +01:00
fricklerhandwerk added this to the Fediversity project 2025-01-27 13:18:53 +01:00
kiara added a new dependency 2025-02-11 10:55:26 +01:00
kiara removed a dependency 2025-02-11 10:56:20 +01:00
kiara added a new dependency 2025-02-11 10:56:32 +01:00
kiara removed this from the Fediversity project 2025-04-14 11:12:44 +02:00
kiara added a new dependency 2025-06-02 19:40:14 +02:00
kiara added a new dependency 2025-06-02 19:58:08 +02:00
kiara changed title from Create a deployment migration token to Create a deployment migration string 2025-06-05 09:06:52 +02:00
kiara added a new dependency 2025-09-11 20:41:51 +02:00
kiara added a new dependency 2025-09-11 20:42:12 +02:00
kiara added a new dependency 2025-09-11 20:42:26 +02:00
kiara added
type: task
and removed
type: user story
labels 2025-09-19 09:06:03 +02:00
kiara added the
3 points
label 2025-12-02 19:45:42 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference: fediversity/fediversity#77
No description provided.