> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nebius.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Exporting data from Compute disks and shared filesystems

You can export data that you store on [Compute volumes](./types) (boot disks, additional disks and shared filesystems) to local or virtual machines:

1. Check whether the disk or filesystem is used on any VMs:

   <Tabs group="interfaces">
     <Tab title="Web console">
       1. In the [web console](https://console.nebius.com), go to <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/storage.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=0a2dad6b48aea10e85f6f3e2343aee26" width="16" height="16" data-path="_assets/sidebar/storage.svg" /> **Storage** → **Disks** or <Icon icon="https://mintcdn.com/nebius-ai-cloud/1Ha0sWR6e1mnIaHS/_assets/sidebar/storage.svg?fit=max&auto=format&n=1Ha0sWR6e1mnIaHS&q=85&s=0a2dad6b48aea10e85f6f3e2343aee26" width="16" height="16" data-path="_assets/sidebar/storage.svg" /> **Storage** → **Shared filesystems**.
       2. Click on the volume.
       3. Under **General**, check the **Virtual machine** value. It lists the VMs that use the volume.
     </Tab>

     <Tab title="CLI">
       * For a disk, run <code>nebius compute disk list</code> or <code>nebius compute disk get \<disk\_ID></code>. If the disk is used on a VM, the output contains the VM's ID in the `.status.read_write_attachment` field:

         ```yaml theme={null}
         status:
           read_write_attachment: computeinstance-e00***
         ```

         For more details about the commands, see the references for [nebius compute disk list](/cli/reference/compute/disk/list) and [nebius compute disk get](/cli/reference/compute/disk/get).

       * For a filesystem, run <code>nebius compute filesystem list</code> or <code>nebius compute filesystem get \<filesystem\_ID></code>. If the filesystem is used on any VMs, the output lists their IDs in the `.status.read_write_attachments` field:

         ```yaml theme={null}
         status:
           read_write_attachments:
             - computeinstance-e00***
             - computeinstance-e00***
         ```

         For more details about the commands, see the references for [nebius compute filesystem list](/cli/reference/compute/filesystem/list) and [nebius compute filesystem get](/cli/reference/compute/filesystem/get).
     </Tab>
   </Tabs>

2. If the disk or filesystem is not used on any VM, [attach and mount it to a VM](./use).

3. Check that you can [connect to the VM over SSH](../virtual-machines/connect).

   <Accordion title="What to do if I cannot connect to the VM">
     * If the VM does not have a public IP address, you have the following options:

       * Connect to the VM's private address from another VM in the same [network](../../vpc/overview#network).
       * Run <code>nebius compute instance update</code> with the `--network-interfaces` parameter to add a public address to the VM. For the command reference, see [nebius compute instance update](/cli/reference/compute/instance/update).
       * Create another VM with a public address and add the volume to it. For details and examples, see [How to create a virtual machine in Nebius AI Cloud](../virtual-machines/manage).

           <Warning>
             One disk can be used on one VM at a time. To add a disk to a new VM, you need to [detach the disk](./detach-volume) from the original VM if it is an additional (secondary) disk, or delete the original VM altogether if the disk is the VM's boot disk. This restriction does not apply to shared filesystems.
           </Warning>

     * If you have not created this VM, ask its owner to perform the following steps themselves or add you to the VM as a user.

     * For other connection issues, [contact support](https://console.nebius.com/support/create-ticket).
   </Accordion>

4. On your local machine, run a tool for copying files, for example, `rsync` or `scp`:

   <Tabs>
     <Tab title="rsync">
       ```bash theme={null}
       rsync <username>@<public_IP_address>:</path/to/file(s)/on/VM> </path/to/destination/on/local/machine>
       ```

       > For example, if a VM has the public IP address `195.242.11.11` and you work with it as `alice`, run the following command to recursively copy the contents of your home directory:
       >
       > ```bash theme={null}
       > rsync -r alice@195.242.11.11:/home/alice ~/vm-home
       > ```

       For more `rsync` details and parameters, run `man rsync`.
     </Tab>

     <Tab title="scp">
       ```bash theme={null}
       scp <username>@<public_IP_address>:</path/to/file(s)/on/VM> </path/to/destination/on/local/machine>
       ```

       > For example, if a VM has the public IP address `195.242.11.11` and you work with it as `alice`, run the following command to recursively copy the contents of your home directory:
       >
       > ```bash theme={null}
       > scp -r alice@195.242.11.11:/home/alice ~/vm-home
       > ```

       For more `scp` details and parameters, see its [manpage](https://man.openbsd.org/scp.1) or run `man scp`.
     </Tab>
   </Tabs>
