ISC Learn Platform
TODO : format correctly all the offline docs
Restore on Hasdrubal
Restoring a backup from NAS to Hasdrubal : this is with a separate servername but changing DNS CNAME learn.isc-vs.ch to hasdrubal.isc-vs.ch
Restore on Rumba
Restoring a backup from NAS to Rumba : is with a separate servername but changing DNS CNAME learn.isc-vs.ch to rumba.isc-vs.ch
Restore inplace on Hannibal
Restore inplace with the DATA snapshot features
Restoring the system snapshot : only for a system issue, it wont fix any applicative issue on the Moodle files
EDIT : After repeated failed tests on Hasdrubal, the system snapshot can have serious issues, for now it is not reliable and can leave the VM with an unbootable system disk.
Restoring the data snapshot : if the system is down, this can't be used, but on a scheduled Change, we can take a data snapshot to keep a backup of the /srv filesystem (Takes 2h30) and restore Moodle files on a new separate disk (1h on /dev/sdc : this is the way Infomaniak handles filesystem backups, we can't just rollback the current /dev/sdb disk…)
For DRP : only to use in last resort when more recent backup would be corrupted : data snapshots are generally more than weeks old when not taken just before a Change
Restore on a second virtualhost
Restoring a backup from NAS to Hannibal : This is with a separate servername but changing DNS CNAME learn.isc-vs.ch to the new servername, then switch to it
Restore inplace on the current website
Restoring a backup from NAS to Hannibal : Directly replacing corrupted files either from the SSD NAS on Rumba, or from the Desktop NAS.
Restore backups from scratch on a new server
Fallback Process
Steps to get back to normal operation on Hannibal
Preparation
- Schedule a time window to fallback
On D-day :
- DB backup from the secondary
- Data backup from the secondary
- Transfer and restore data files to the primary Hannibal original location
- Restore DB dump
- Finish DB restoration from GUI / plugins self checks
- Clear caches and restart php8.3-fpm / apache2
- Test and validate everything is back to normal
