Documentation
Backups and maintenance
Back up and restore edited reports and extension data. Learn how to track changes and recover earlier versions.
On this page
Restore a report backup from the preview
In the preview, open Tools → Restore from report backup log…, or use ALRC: Open Report Backup Log from the command palette. Select a snapshot and confirm its affected files. Restoration returns all files in that snapshot to their state before the selected operation. The current state is backed up first; use the before-restore entry to return to it.
Snapshots are stored in .vscode/al-report-creator/backups/ in the project. The al-report-creator.backups.retentionDays setting defaults to seven days; 0 disables expiry. Cleanup runs after a successful new backup. Ambiguous legacy backups remain available for manual inspection.
Maintenance and backups
Version the AL report, layouts and translations together, especially for changes spanning files, such as column renaming and carry-overs.
Style operations can back up affected files before applying changes. ALRC: Undo Last Preview Style reverses the last style change. If files have changed in the meantime, those contents are backed up rather than silently overwritten. Undo supports the current editing step; keep your normal version control and lasting backups as well.
Export style presets and wizard definitions separately. Include project-wide presets, definitions and templates in version control. Credentials are not part of these backups; authorise them again on a new workstation.