One of the most frequently asked questions is how to move an existing Supervisely instance from one machine/cloud to another machine/cloud? It's actually very easy.
supervisely auth <key> with the key provided to you before and run
sudo supervisely install-all to get all the necessary dependencies on a new server. You can check this document. It is a good idea to pick the same config and data folders as on old server, but it is not nessessary.
Locate configuration folder on a new and old machine via
sudo supervisely where command (run on both servers — usually,
Now, copy this folder from old machine to a new one — do not forget to copy both
.env files. For example:
# on the old serverrsync -azP /opt/supervisely new_server:/opt/supervisely/
Locate data folder on a new and old machine via
sudo supervisely where data command (run on both servers — usually,
First, stop an existing instance via
sudo supervisely stop. Now, copy the folder from the old machine to the new one. For example:
# on the old serverrsync -azP /supervisely/data new_server:/supervisely/data
In this case you will need to copy data from the cloud via some external utility. We suggest to use
minio as in this tutorial.
We are done with the old server — you can run it back again via
sudo superviselu up -d. On the new machine, login the the docker registry via
sudo supervisely login and initialise instance via
sudo supervisely upgrade --skip-backup.