diff --git a/Scripts/Bash/Transfer Docker Containers.md b/Scripts/Bash/Transfer Docker Containers.md index 8c443ca..e55b9ae 100644 --- a/Scripts/Bash/Transfer Docker Containers.md +++ b/Scripts/Bash/Transfer Docker Containers.md @@ -7,6 +7,8 @@ Be sure to perform the following steps to make sure that you can copy the contai On the destination (new) server, the directory needs to exist and be writable via the person copying the data over SSH: +## Copying Data Between Servers + === "Safe Method" ``` sh @@ -34,4 +36,7 @@ On the source (old) server, perform an rsync over to the new server, authenticat ``` sh rsync -avz -e ssh --progress /srv/containers/example nicole@192.168.3.30:/srv/containers - ``` \ No newline at end of file + ``` + +## Spinning Up Docker / Portainer Stack +Once everything has been moved over, copy the `docker-compose` and `.env` (environment variables) from the old server to the new one, pointing to the same location since we maintained the same folder structure, and the container should spin up like nothing ever happened. \ No newline at end of file