TL;DR If you use overview-local, now is a good time to ./backup.
In other words:
./stop
./backup because-adamhooper-said-so.tar.gz
./update
./start
What's causing the change?
We're moving database files into named Docker volumes.
Why use named Docker volumes?
This will make it harder to lose Overview's data by mistake.
Here's the technical problem.
overview-local uses Docker. Docker stores data in volumes: directories on your hard drive (on Linux) or in Docker's virtual-machine image (on Mac and Windows). Historically, these volumes were magically created when we created containers. (A container is a running program.) If the container disappears, nothing points to the volume: you can't find your data.
Historically, to preserve the volume, we had to preserve its container. We'd create an empty container per volume. You'd run it and it would ... stop. This was standard practice for Docker users.
Here's the problem: stopped Docker containers can clutter a system. Many Docker users run a command every once in a while that deletes all stopped containers. That deletes data-volume containers. And that deletes your data.
All that to say: in the past, a routine Docker maintenance command -- included in Docker's online documentation -- can hide or delete your Overview database.
Docker developers built a solution: named volumes. Routine Docker commands won't delete named volumes. And named volumes are easy to find on disk.
Why didn't overview-local use named volumes earlier?
Named volumes are a relatively new Docker feature.
Why don't we switch to named volumes later?
We've helped several users troubleshoot data-volume container problems. We conclude that users will continue to have trouble -- misplaced files and possible data loss -- as long as we use data-volume containers.
We must switch to named volumes to protect your data over the long term. The sooner we switch, the better.
What's the risk?
The next time you run overview-local's ./start, it will move your files from unnamed volumes to named volumes.
We designed our file-moving code to recover from errors. We've tested extensively. But we're only human.
If our code has a bug, it could affect your files. Most likely,
Overview won't start and we can work with you to recover your data. (Email
overview-users@groups.google.com.) But one wrong command during troubleshooting can be disastrous.
Why "move files" instead of "copy files?" Isn't copying safer?
Some of our users don't have enough disk space to hold two copies of their Overview data. Copy won't work for them.
Instead of copying, you can choose to back up manually. You can store the backup on a disk with space. Or you can skip the backup entirely.
Enjoy life,
Adam