Part-DB-server/translations
Sebastian Almberg 1637fd63f4 Add backup restore feature
- Add restoreBackup() method to UpdateExecutor with full restore workflow
- Add getBackupDetails() to retrieve backup metadata and contents info
- Add restore controller routes (backup details API, restore action)
- Add restore button to backups table in UI
- Create backup_restore_controller.js Stimulus controller for confirmation
- Add translation strings for restore feature

The restore process:
1. Acquires lock and enables maintenance mode
2. Extracts backup to temp directory
3. Restores database (MySQL/PostgreSQL SQL or SQLite file)
4. Optionally restores config files and attachments
5. Clears and warms cache
6. Disables maintenance mode

Fix backup restore database import

The restore feature was using a non-existent doctrine:database:import
command. Now properly uses mysql/psql commands directly to import
database dumps.

Changes:
- Add EntityManagerInterface dependency to UpdateExecutor
- Use mysql command with shell input redirection for MySQL restore
- Use psql -f command for PostgreSQL restore
- Properly handle database connection parameters
- Add error handling for failed imports
2026-01-30 23:24:48 +01:00
..
.gitignore Initial commit 2019-02-23 16:49:38 +01:00
frontend.cs.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
frontend.da.xlf New translations frontend.en.xlf (Danish) 2026-01-25 10:50:30 +01:00
frontend.de.xlf New translations frontend.en.xlf (German) 2026-01-18 22:00:37 +01:00
frontend.el.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
frontend.en.xlf New translations frontend.en.xlf (English) 2026-01-25 21:16:04 +01:00
frontend.es.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
frontend.fr.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
frontend.hu.xlf New translations frontend.en.xlf (Hungarian) 2026-01-18 22:00:38 +01:00
frontend.it.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
frontend.ja.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
frontend.nl.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
frontend.pl.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
frontend.ru.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
frontend.zh.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.cs.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.da.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.de.xlf Merge remote-tracking branch 'origin/l10n_master' 2026-01-25 21:27:51 +01:00
messages.el.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.en.xlf Add backup restore feature 2026-01-30 23:24:48 +01:00
messages.es.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.fr.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.hu.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.it.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.ja.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.nl.xlf Replace hardcoded entity type names with synonym placeholders in English and German translations (#1128) 2025-12-07 14:09:22 +01:00
messages.pl.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.ru.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
messages.zh.xlf Move frontend translations to separate domain to reduce bundle size (#1197) 2026-01-18 18:50:38 +01:00
SchebTwoFactorBundle+intl-icu.de.xlf Added a basic possibility to create/edit/delete specifications for parts. 2020-03-08 22:46:29 +01:00
SchebTwoFactorBundle+intl-icu.en.xlf Use form for search submit. 2020-01-04 22:38:05 +01:00
SchebTwoFactorBundle.de.xlf Added translations. 2020-03-07 21:31:38 +01:00
SchebTwoFactorBundle.en.xlf Added translations. 2020-03-07 21:31:38 +01:00
security.cs.xlf New translations security.en.xlf (Czech) 2025-08-31 15:12:32 +02:00
security.da.xlf New translations security.en.xlf (Danish) 2026-01-25 10:50:26 +01:00
security.de.xlf New translations security.en.xlf (German) 2025-12-05 00:40:26 +01:00
security.el.xlf New translations security.en.xlf (Greek) 2023-01-31 10:20:10 +01:00
security.en.xlf New translations security.en.xlf (English) (#786) 2024-12-02 00:22:45 +01:00
security.es.xlf New translations security.en.xlf (Spanish) 2025-03-11 14:02:10 +01:00
security.fr.xlf New Crowdin updates (#1105) 2025-11-12 21:34:05 +01:00
security.hr.xlf New translations security.en.xlf (Croatian) 2024-06-14 23:40:19 +02:00
security.hu.xlf New translations security.en.xlf (Hungarian) 2025-10-17 22:40:52 +02:00
security.it.xlf New Crowdin updates (#804) 2025-01-06 00:29:40 +01:00
security.ja.xlf New translations security.en.xlf (Japanese) 2023-01-31 10:20:11 +01:00
security.nl.xlf New translations security.en.xlf (Dutch) 2025-02-10 17:11:09 +01:00
security.pl.xlf New translations security.en.xlf (Polish) 2025-09-25 11:53:55 +02:00
security.ru.xlf New Crowdin updates (#837) 2025-02-01 20:58:35 +01:00
security.vi.xlf New translations security.en.xlf (Vietnamese) 2024-07-10 03:32:31 +02:00
security.zh.xlf New translations security.en.xlf (Chinese Simplified) (#870) 2025-02-26 12:27:11 +01:00
validators.cs.xlf New translations validators.en.xlf (Czech) 2025-08-31 15:12:31 +02:00
validators.da.xlf New translations validators.en.xlf (Danish) 2026-01-25 10:50:25 +01:00
validators.de.xlf New translations validators.en.xlf (German) 2026-01-25 21:15:51 +01:00
validators.el.xlf New translations validators.en.xlf (Greek) 2023-01-31 10:20:08 +01:00
validators.en.xlf New translations validators.en.xlf (English) 2025-12-05 00:40:29 +01:00
validators.fr.xlf New Crowdin updates (#1105) 2025-11-12 21:34:05 +01:00
validators.hr.xlf New translations validators.en.xlf (Croatian) 2024-11-10 14:30:20 +01:00
validators.hu.xlf New translations validators.en.xlf (Hungarian) 2025-10-17 22:49:41 +02:00
validators.it.xlf New translations validators.en.xlf (Italian) 2024-10-16 13:50:37 +02:00
validators.ja.xlf New translations validators.en.xlf (Japanese) 2023-10-15 15:40:30 +02:00
validators.nl.xlf New Crowdin updates (#1036) 2025-09-19 09:12:47 +02:00
validators.pl.xlf New Crowdin updates (#738) 2024-10-19 19:24:55 +02:00
validators.ru.xlf New Crowdin updates (#837) 2025-02-01 20:58:35 +01:00
validators.zh.xlf New translations validators.en.xlf (Chinese Simplified) 2024-04-27 20:30:18 +02:00