Paul Makles caeba5063b
refactor(server): move database restores code into a service (#25918)
* fix(server): use provided database name/username for restore & ensure name is not mangled

fixes #25633

Signed-off-by: izzy <me@insrt.uk>

* chore: add db switch back but with comments

Signed-off-by: izzy <me@insrt.uk>

* refactor: no need to restore database since it's not technically possible
chore: late fallback for username in parameter builder

Signed-off-by: izzy <me@insrt.uk>

* chore: type fix

Signed-off-by: izzy <me@insrt.uk>

* refactor: move db backup code into service

* test: check SQL sent to psql

* chore: remove todo

Signed-off-by: izzy <me@insrt.uk>

---------

Signed-off-by: izzy <me@insrt.uk>
2026-02-10 12:12:27 -05:00
..
2025-11-17 17:15:44 +00:00
2026-02-07 00:47:54 +01:00
2025-07-15 18:39:00 -04:00
2026-01-09 17:59:52 -05:00
2025-11-25 08:19:40 -05:00
2026-02-07 00:47:54 +01:00
2025-09-03 22:50:27 +00:00
2025-07-15 18:39:00 -04:00
2025-10-22 12:54:29 -04:00
2025-12-20 21:07:07 -06:00