Skip to navigationSkip to main contentSkip to footerScaleway DocsAsk our AI
Ask our AI

Transferring local data to a Block Storage volume

You can transfer files from your local machine to your Instance's remote Block volume with rsync, a tool for efficiently transferring and copying files. The rsync utility is pre-installed on most Linux distributions and macOS.

Before you start

To complete the actions presented below, you must have:

  1. Check that rsync is installed on your local machine with the following command:

    rsync --version

    An output similar to the following displays:

    rsync  version 3.1.3  protocol version 31
  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:

    rsync -a path/to/file.txt root@<your_instance_ip>:/mnt/block-volume
  3. The file is now transferred. Connect to your Instance again, then run the command below to check that your file is present in your Block Storage volume:

    ls /mnt/block-volume

Refer to the official Rsync documentation for more information on the different options available.

Still need help?

Create a support ticket
No Results