I’m upgrading Lenses and want to know if Lenses has a way to perform a rollback in case of errors?
Hello Edward_k
With every Lenses update, database migrations occur, which is why there isn’t an automatic rollback mechanism. Therefore, it’s recommended to back up the database. There are two ways to use the database: one is in disk mode where you can back up by copying the folder containing the database files. The second mode involves using PostgreSQL; in that case, you can choose the backup mode that best suits your needs.
Since Lenses itself does not have a mechanism to perform a rollback; you would need to use the database backup for this. You would delete the database affected by the installation, restore the backup, and then install Lenses using the older version.