shlogg · Early preview
Carrie @carrie_luo1

Migrating Data: Prepare Environments For Seamless Transfer

Migrate data between environments: Stop containers, copy SafeLine directory, restart containers. Move license by restarting original SafeLine, clicking "Pro" on dashboard, then reactivate in new environment.

If you wanna migrate data, prepare environment for migration, ensuring that the version remains consistent with the original environment.

  
  
  1. Stop the containers in both environments

Using docker compose down to stop the containers.
Original environment

New environment


  
  
  2. Copy the SafeLine directory from the original environment and overwrite the SafeLine directory in the new environment.

You can zip the directory directly and then copy. If you don't have zip, install one. For example, on ubuntu, install with apt.
apt install zip

Zip under data directory.
zip -r safeline....