> For the complete documentation index, see [llms.txt](https://edentech.gitbook.io/glover/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://edentech.gitbook.io/glover/faqs/upgrade-without-losing-data.md).

# Upgrade without losing data

If you for any reason miss some versions, you simply setup afresh the new version without losing your data.

Steps to ensure not losing data during fresh setup:

1. Backup your database. you can use the export option in your phpmyadmin to export the database and store on your local device.
2. Compress the **storage** folder in the backend directory. Download/move the compressed stroage to a secure location.
3. Also download a copy of the **.env** file from your server in the backend directory
4. Upload and extract the **New owners.zip** to your server
5. Then upload back the **.env** file you download before to the backend directory
6. Also delete the newly created **storage** folder in your backend directory
7. Now import/upload the previously backed up **storage** folder, then unzipp/decompress it in the backend directory&#x20;
8. Now you are set. Go to the backend url and login then go to the upgrade menu to perform the upgrade
9. A few clicks on the **upgrade** menu to upgrade the system to the latest version
