Procedure for restoring a local database
Restoring a local database is done using the administration tool corresponding to your database engine: SQL Server, PostgreSQL, MariaDB or MySQL.
Steps to follow
- Force all users to exit the application
Ensure that no user is logged into Cheel before starting the procedure.
- Open the database management tool
Use the appropriate tool for your engine (e.g., SQL Server Management Studio, pgAdmin, etc.).
- Save the current database
Perform a full backup of the existing database.
Important: Never overwrite your previous backups
- Rename the current database
Rename the production database to keep it in the archive.
Example: MyCheelDB → MyCheelDB.Archive.YYYY.MM.DD
- Restore the database
Start the restore procedure from the desired backup file.
- Check the restoration in Cheel
Open the Cheel application and check that the restored database is accessible and functional.
Recommendation : always keep several historical backups.