You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
37
-
are welcome to redistribute it under certain conditions. See the GNU
38
-
General Public Licence for details.
39
30
```
40
31
41
-
<Messagetype="tip">
42
-
If you get a `command not found` output (or similar), you need to install `rsync`:
43
-
- On Linux Ubuntu and Debian systems, you can do this with the APT package tool using the `sudo apt install rsync` command.
44
-
- For Linux CentOS/ Fedora, you can use the YUM package manager: `sudo yum install rsync`.
45
-
- On Mac OSX with the Homebrew package manager, you can use `brew install rsync`.
46
-
</Message>
32
+
2. Run the following command to transfer the file to your Instance's mounted block volume. Ensure that you use your own Instance's IP address:
47
33
48
-
2. On your local machine, open a new terminal and use the following command to create a file called `hello-world.txt`:
49
34
```
50
-
nano hello-world.txt
35
+
rsync -a path/to/file.txt root@<your_instance_ip>:/mnt/block-volume
51
36
```
52
37
53
-
3. Enter the text `Hello World!`.
54
-
55
-
4. Press `Ctrl+O`, then `Enter`, then `Ctrl+X` to save and exit the file.
56
-
57
-
5. Enter the following command to transfer the file to your Instance's mounted block volume. Ensure that you use your own Instance's IP address:
58
-
59
-
```
60
-
rsync -a hello-world.txt root@<your_instance_ip>:/mnt/block-volume
61
-
```
62
-
63
-
The file is now transferred. You can connect to your Instance again, and use the command `cd /mnt/block-volume ; ls` to check that the file appears in the directory.
38
+
The file is now transferred. You can connect to your Instance again, and run the command below to check that your file is present in your Block Storage volume:
39
+
```bash
40
+
ls /mnt/block-volume
41
+
```
42
+
Refer to the [official Rsync documentation](https://download.samba.org/pub/rsync/rsync.1#OPTION_SUMMARY) for more information on the different options available.
0 commit comments