A backup is only meaningful when the restore process has been proven. This controlled exercise restored a full Moodle hosting-account backup to a prepared recovery server, validated the recovered data and kept the platform isolated while it awaited separate authorisation for application testing.
The Brief
The aim was to test recovery without affecting the live service. The learning platform was a substantial Moodle environment, so the exercise needed to restore the complete hosting account while preventing restored email, scheduled tasks or public access from becoming active.
A key part of the brief was separating technical restoration from live-service acceptance. Recovering files, databases and configuration is an important milestone, but it is not the same as confirming that every login, course workflow and external integration is ready for production.
Preparing an Isolated Recovery Environment
A clean recovery platform was prepared with the required operating system, hosting control panel, database platform, PHP environment and backup tooling. Storage was reviewed for both the final restored data and the temporary working space needed while a large archive was being processed.
The first restoration attempt was stopped safely when the temporary archive process used primary storage instead of the intended recovery volume. The working path was corrected and the restore was restarted. This is exactly why controlled testing matters: it exposes assumptions before an emergency turns them into a service-impacting problem.
Verifying the Backup Before Restoration
Before the restore began, the archive and its internal structure were checked for the expected hosting account, Moodle application data and database content. The original package was preserved unchanged so the recovery process always had a known source.
These checks reduced the chance of discovering a damaged or incomplete package after committing time and storage to the restoration. They also created a clear evidence trail for the test without exposing confidential configuration or customer information.
Restoring Moodle
The native hosting recovery process recreated the account, application files, database and relevant configuration on the prepared platform. The restoration completed normally, after which the recovered account remained suspended.
Outgoing mail was blocked and account-level scheduled tasks were paused. Those controls ensured that the recovered copy could not send notifications, run automated jobs or appear publicly before an authorised testing plan was agreed.
Checking the Recovered Data
Offline validation covered the areas that could be checked safely while the platform remained isolated:
- Recovered account and application paths resolved to the intended storage.
- The Moodle code and database versions matched.
- The restored database contained the expected application records and structure.
- A sample of stored Moodle files was checked against recorded sizes and integrity hashes.
- Web-server and supporting service states were reviewed.
- Email, scheduled tasks and public access remained restricted throughout validation.
Those checks passed for the supplied recovery package, and the Moodle environment remained suspended when the technical test was complete.
What the Test Proved
The exercise proved that the supplied backup could be restored onto a prepared disaster recovery platform and pass offline structural checks. It also produced a repeatable runbook covering preparation, restoration, safety controls, validation and future rollback decisions.
The result was deliberately limited to what had actually been tested. Browser behaviour, user login, course workflows, external integrations and a live cutover were not claimed as passed. Those activities require separate approval, an isolated application-test plan and a recorded decision before activation.
Why Disaster Recovery Testing Matters
Written recovery plans often miss practical dependencies such as temporary storage, software versions, access controls, account isolation and the order in which services should be released. A controlled test makes those dependencies visible while there is time to correct them.
Regular recovery testing gives a business stronger evidence than a backup-success notification. It shows whether a backup can be used, whether the recovery environment is ready, and whether the people involved have a safe route from technical restoration to business acceptance.
This project supports practical business continuity planning and IT consultancy where organisations need a controlled recovery design, test plan and evidence trail.
Need to Test Your Recovery Plan?
Hamblett Consultancy helps businesses review backups, build disaster recovery runbooks and test recovery for servers, websites, databases and cloud platforms.
Frequently asked questions
How was Moodle recovery tested without affecting production?
The backup was restored onto an isolated recovery platform. The recovered account remained suspended, outgoing email was blocked, scheduled tasks were paused and public access remained restricted.
What storage problem did the first restoration attempt uncover?
Temporary archive processing used primary storage rather than the intended recovery volume. The attempt was stopped safely, the working path corrected and the restore restarted.
Which checks passed after the Moodle data was restored?
Offline checks covered storage paths, matching Moodle code and database versions, expected database structure and records, and a sample of stored files checked against sizes and integrity hashes.
Did the restore test prove that Moodle was ready for live use?
No. It proved technical restoration and offline structural checks. Browser behaviour, logins, course workflows, external integrations and live cutover were not claimed as passed; those required separate approval and application testing. See business continuity planning.