Question
Contao 5.6 Backup Enhancement: Media Inclusion vs. Integrity Checksum
Zo Vale
0 reputation · 29 Nov 2021, 23:34 UTC
90.1K views0
Contao 5.6 Backup Feature Decision
The built‑in backup tool in Contao 5.6 creates a plain SQL dump of the database and stores it in /var/www/contao/backup. Media files are not included, and no integrity checksum is generated or verified after restoration.
Administrators must manually decide whether to extend the backup to also archive the files directory or to add a verification step that confirms the restored data matches the original dump.
- Should the backup utility be extended to optionally bundle the media directory into the backup archive?
- Is it practical to generate and store a cryptographic checksum (e.g., SHA‑256) of the backup file for post‑restore integrity verification?
- How would these changes affect existing restoration procedures, backup file size limits, and compatibility with Contao 5.6?