- π¬π§United Kingdom SirClickALot Somerset
I concur,
The following HTML is appended to the end of the SQL dump right after the last line of SQL (
SET AUTOCOMMIT = 1;
) when usingBack and migrate 5.0.3
withDrupal 10
...SET AUTOCOMMIT = 1;<!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <meta http-equiv="refresh" content="0;url='https://my-site/admin/config/development/backup_migrate'" /> <title>Redirecting to https://my-site/admin/config/development/backup_migrate</title> </head> <body> Redirecting to <a href="https://my-site/admin/config/development/backup_migrate">https://my-site/admin/config/development/backup_migrate</a>. </body> </html>
With Drupal 9 and the same
Back and migrate 5.0.3
, the same problem occur. - π¬π§United Kingdom SirClickALot Somerset
Now that's interesting.
I wonder if it could some how be connected with the other issue π¬ No option for Zip compression in D10? Closed: cannot reproduce that I am experiencing n the Drupal 10 site.I cannot really see any other difference between the to sites' hosting settings; PHP etc both the same.
- πΊπΈUnited States DamienMcKenna NH, USA
I think we should add test coverage to examine the backup files. And because this corrupts the backups, it's a critical issue.
It technically doesn't corrupt the backups, as the files on the host aren't actually corrupt, but the downloaded files are. Still, I agree that it could lead to corruption if a user restores from a downloaded backup file.
Closing as duplicate of π Download errors, backup files contain trailing HTML, corrupts archive backups Needs work . The MR in that issue fixes the trailing HTML.
- Status changed to Closed: duplicate
11 months ago 5:39pm 2 January 2024