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
..
2026-01-09 17:59:52 -05:00
2025-07-15 14:50:13 -04:00
2026-01-09 17:59:52 -05:00
2026-02-05 12:43:03 -05:00
2026-01-09 17:59:52 -05:00
2026-01-09 17:59:52 -05:00
2026-01-24 19:34:29 +00:00
2025-03-28 10:40:09 -04:00
2025-11-17 17:15:44 +00:00
2024-03-20 23:15:09 -04:00
2025-06-17 16:06:40 +00:00
2025-04-08 12:40:03 -04:00
2026-01-09 17:59:52 -05:00