mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-25 01:10:22 +00:00
add video commands
This commit is contained in:
parent
b57b7b31c1
commit
f9b6645487
1 changed files with 14 additions and 0 deletions
14
Kubernetes/Docker-Kubernetes-Data-Migration/readme.md
Normal file
14
Kubernetes/Docker-Kubernetes-Data-Migration/readme.md
Normal file
|
@ -0,0 +1,14 @@
|
|||
# Instructions
|
||||
1. Create Longhorn volume
|
||||
1. Mount longhorn volume to a node (recommend worker node)
|
||||
1. Log into selected worker node
|
||||
1. Create temporary folder for migration
|
||||
sudo mkdir /tmp/folder
|
||||
1. List the disks to format
|
||||
sudo fdisk -l
|
||||
1. Format the disk
|
||||
sudo mkfs -t ext4 /dev/sdx
|
||||
1. Mount the new disk to tmp folder
|
||||
sudo mount /dev/sdx /tmp/folder
|
||||
1. Copy data from Docker Host to new drive (substitute your values below)
|
||||
sudo rsync -avxHAX username@DockerHostIP:/home/ubuntu/docker/some-directory/* /tmp/folder
|
Loading…
Reference in a new issue