diff --git a/docs/application-hosting/guides/migration.md b/docs/application-hosting/guides/migration.md index 9f0844c2..1d90bf84 100644 --- a/docs/application-hosting/guides/migration.md +++ b/docs/application-hosting/guides/migration.md @@ -10,17 +10,16 @@ If you want to migrate your data from one Application Slot to another, this guid To move the data, we will be using rsync. The steps below will go over the process: -1. SSH to your slot you want to move your data from, check [here](../getting-started/how-do-i-connect.md) for a tutorial on how to connect via SSH. -2. As the move can take quite a long time to finish, depending on the amount of data, it's best to use a screen session where it can run without the need to leave your SSH client open: - - 2.1. Type: `screen -S migrate` - 2.2. To disconnect from the screen session, press **Ctrl+A+D** together on your keyboard. - 2.3. To reconnect to the screen session, type: `screen -r migrate` -4. Once you are in the screen session, the command to start the migration of your data is: - - 3.1. `rsync -avH --info=progress2 -e "ssh -c aes128-ctr -o Compression=no" /home//Downloads/ @XX.ein.itsby.design:/home//Downloads/` - 3.2. You will be asked to trust the certificate, so type yes and press Enter. Then input/paste the password of your destination slot and let the data move process finish. You can use Step 2.2. to disconnect from the screen session. - 3.3. With the command above, you will move the contents of a Folder called Downloads on your old slot to a folder called Downloads on your new slot. Just replace with your username and XX.ein... with the domain of your new slot. + 1. SSH to your slot you want to move your data from, check [here](../getting-started/how-do-i-connect.md) for a tutorial on how to connect via SSH. + 2. As the move can take quite a long time to finish, depending on the amount of data, it's best to use a screen session where it can run without the need to leave your SSH client open: + 2.1. Type: `screen -S migrate` + 2.2. To disconnect from the screen session, press **Ctrl+A+D** together on your keyboard. + 2.3. To reconnect to the screen session, type: `screen -r migrate` + 4. Once you are in the screen session, the command to start the migration of your data is: + + 3.1. `rsync -avH --info=progress2 -e "ssh -c aes128-ctr -o Compression=no" /home//Downloads/ @XX.ein.itsby.design:/home//Downloads/` + 3.2. You will be asked to trust the certificate, so type yes and press Enter. Then input/paste the password of your destination slot and let the data move process finish. You can use Step 2.2. to disconnect from the screen session. + 3.3. With the command above, you will move the contents of a Folder called Downloads on your old slot to a folder called Downloads on your new slot. Just replace with your username and XX.ein... with the domain of your new slot. :::caution Do not move your whole home folder, for example /home/jiiikoo/ as this will break things on the destination slot. Always move singular folders, like in the example above.