Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add update instructions

Manav Rathi1115f9308611
diff --git a/infra/services/metabase/README.md b/infra/services/metabase/README.md
index 8622925309..5789a728b5 100644
--- a/infra/services/metabase/README.md
+++ b/infra/services/metabase/README.md
@@ -11,6 +11,19 @@ If there are any existing backups, place them in `/root/metabase.db`.
Then add the Nginx conf
- sudo mv metabase.nginx.conf /root/nginx/conf.d
+```sh
+sudo mv metabase.nginx.conf /root/nginx/conf.d
+```
and reload the nginx service.
+
+## Update
+
+Take a DB backup (just for safety), then restart the service (it'll pull the
+latest image).
+
+```sh
+sudo systemctl stop metabase
+sudo cp -R /root/metabase.db metbase.db-`date '+%s'`
+sudo systemctl start metabase
+```