I need to move an existing baserow docker install to another server. The existing baserow docker is using a data volume in “/var/lib/docker/volumes/baserow_data/_data”.
If I just stopped baserow, backed up the docker volume and rsynced it to the new server, repointed the DNS and started baserow on the new server… would that work?
If it makes things more complicated, the source Server is running baserow 1.13.2 and the Destination Server will be running whatever is the latest, currently 1.16, I think.
In theory that would do it just make sure the permissions on the volume are the same. What I would do is make sure the destination server is running the same version of Baserow then check that everything is working then do the upgrade. If you import into a newer version if something goes wrong it will be harder to know if the issue is because of the new version or the migration.
The other thing you could try is a backup and restore, which then doesn’t depend on a docker migration and has a higher chance of working.
Set up the new server to use 1.13.2 or upgrade the current install to 1.16
If you encounter issues while moving the Baserow server by copying the volume, I’ve also faced a similar problem due to an incorrect folder path. Specifically, there was a difference between the paths:
/var/lib/docker/volumes/baserow_data
<--- different from -->
/var/lib/docker/volumes/baserow_data/_data
Additionally, I encountered another problem where I received the error message “FATAL: password authentication failed for user ‘baserow’.” This was caused by having a new instance of the file in baserow_data/.pgpass. To resolve this problem, I simply copied the contents from baserow_data/_data/.pgpass to baserow_data/.pgpass.
I wish everyone success with migrating their Baserow data.