Repository navigation
Conversation
Backing up and restoring the database or the files is left to the tools built for it (`mariadb-dump`/`mysqldump`, hosting backups, phpMyAdmin/Adminer, `tar`/`rsync`). To bring a dump into an instance, import it with the database client and run `console migrate` afterwards, which converges the schema from whatever state the dump was taken in. Removed: the backup backend page and its `backup[export]` permission, `Redaxo\Core\Backup` (incl. the tar/gzip helpers and the `BACKUP_BEFORE_DB_IMPORT`/`BACKUP_AFTER_DB_IMPORT` extension points), the export cronjob type and the `import` mode of `console setup` (`--db-setup=import`, `--db-import`). `splitbrain/php-archive` is no longer required. The visual tests import their fixture with the mysql client into the instance installed via the migrate endpoint.
Removes `Util::importDump()` and `Util::splitSqlFile()` (unused since the backup import and the addon `install.sql` files are gone) as well as `Sql::showCreateTable()` (only used by the backup export). Schemas are described and dumped via `Table`/`SchemaDumper` instead.
This was referenced Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the backup export/import from the core without replacement.
Why
mariadb-dump/mysqldump, hosting backups, phpMyAdmin/Adminer andtar/rsyncdo this better.console migratea dump from any earlier state is no problem at all.Replacement
Import a dump with the database client, then run
console migrate:Removed
backup[export]permissionRedaxo\Core\Backup\Backup,Tar,FileCompressorand the extension pointsBACKUP_BEFORE_DB_IMPORT/BACKUP_AFTER_DB_IMPORTExportType; existing jobs of that type show up as invalid in the cronjob listconsole setup --db-setup=importand--db-importsplitbrain/php-archiveDatabase\Util::importDump()/splitSqlFile()andSql::showCreateTable()(separate commit)Other
setuprun (only there to import the fixture) is gone. The instance installed via the migrate endpoint gets the fixture through the mysql client;core.langmoved into the fixture, as it was the only thing the second setup added.merge-5xremovesredaxo/src/addons/backup/wholesale on merges from 5.x, like the formerinstalladdon.var/data/core/backup/of existing instances are not cleaned up.