> ## 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](/compute/storage/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/rOlLZ_MFvrheaI-h/_assets/sidebar/storage.svg?fit=max&auto=format&n=rOlLZ_MFvrheaI-h&q=85&s=f060b15cbd82c08f84599faeeeb07ece" width="16" height="16" data-path="_assets/sidebar/storage.svg" /> **Storage** → **Disks** or <Icon icon="https://mintcdn.com/nebius-ai-cloud/rOlLZ_MFvrheaI-h/_assets/sidebar/storage.svg?fit=max&auto=format&n=rOlLZ_MFvrheaI-h&q=85&s=f060b15cbd82c08f84599faeeeb07ece" 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](/compute/storage/use).

3. Check that you can [connect to the VM over SSH](/compute/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](/compute/virtual-machines/manage).

           <Warning>
             A disk can be attached to only one running VM at a time; shared filesystems can be used by several VMs at once. To add a disk to a new VM, [detach the disk](/compute/storage/detach-volume) from the original VM if it's a secondary disk, or [attach it to another VM for troubleshooting](/compute/virtual-machines/inspect-boot-disk) if it's the boot disk.
           </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>
