Hello,

why do you need to drop the database? LAVA will automatically migrate the database to the new database schema (if needed).


Rgds

Le mar. 16 juin 2020 à 20:11, Vincent Wan <vincent.wan@linaro.org> a écrit :
Hi,

What is the procedure to follow in order to upgrade LAVA to a new release while preserving the test results database? I am using the docker-based setup. 

I tried 

sudo tar cvzf lava-server-pgdata-backup.tgz /var/lib/docker/volumes/lava-server-pgdata
   <wipe away old LAVA, rebase to latest>
sudo tar xvzf lava-server-pgdata-backup.tgz -C /var/lib/docker/volumes/lava-server-pgdata

But the old results don't seem to show up in the UI after the upgrade. Also the user accounts, settings, etc. are gone, and it'd have been nice to keep them.

Thanks,
Vincent

--
-----------------------
Vincent Wan
_______________________________________________
Lava-users mailing list
Lava-users@lists.lavasoftware.org
https://lists.lavasoftware.org/mailman/listinfo/lava-users


--
Rémi Duraffort
LAVA Architect
Linaro