Skip to content

Commit

Permalink
Update migration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jiiikoo authored Oct 26, 2023
1 parent e4acfe3 commit 6300c38
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/application-hosting/guides/migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ To move the data, we will be using rsync. The steps below will go over the proce

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/<username>/Downloads/ <username>@XX.ein.itsby.design:/home/<username>/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 <username> with your username and XX.ein... with the domain of your new slot.
Expand Down

0 comments on commit 6300c38

Please sign in to comment.