Creating a VirtualBox Share



This article goes over the procedure to create a NAS share on a Datto device.  It also describes how to access it through a running VM even if that VM does not have network connectivity of its own. 


The procedure is divided into three sections:

  • Creating the Share and the VM
  • Starting and Configuring VirtualBox
  • Using the Share

Creating the Share and the Virtual Machine

  1. Open up the web interface of the Datto appliance. Click on File Share followed by Network Attached Storage.

  2. Select Add A New Share, which will bring up the Create A Share Wizard (Figure 1). Enter a name for the share, as well as the Configurations and the Type of share to be created. Then, click Next.

    Figure 1 - Create a New Share Wizard

  3. Once the share is created, click Finish.
  4. Look for the share listed in the Your Shares list. Select Configure Share Settings.
  5. Under Make Share Public / Private, make the share Public (Figure 2).Figure 2 - Make Share Public / Private

  6. Click the Restore tab, and choose the Agent to be used (Figure 3)Figure 3 - Restore tab

  7. For that Agent, choose the recovery type of Local Virtualization.

  8. Choose the Recovery Point neccesary, and then click Start Virtualization as seen in Figure 4.

    Figure 4 - Local Virtualization Settings

  9. Click the button Start VM.

  10. Click the button Stop VM, as shown in Figure 5.

    Figure 5 - VM Status

  11. VNC to the device.

  12. Minimize FireFox, if necessary.

Starting and Configuring VirtualBox

  1. On the Desktop, find Sun VirtualBox, as shown in Figure 6. Double-click to open it.

    Figure 6 - Sun VirtualBox icon

  2. Highlight virtual machine and click Settings, as shown in Figure 7.

    Figure 7 - Virtual Machine Settings

  3. Click Storage, as shown in Figure 8.

    Figure 8 - Virtual Box Settings Menu

  4. If there is no IDE controller listed in the Storage Tree list, perform the following steps:
    1. Click the highlighted icon:
    2. Click Add IDE Controller.

  5. Click the icon to Add CD/DVD Device, and then click Leave Empty, as shown in Figure 9.

    Figure 9 - Add CD/DVD Device

  6. Verify that the Storage Tree appears as shown in Figure 10.

    Figure 10 - Storage Tree with Empty IDE Device Listed

  7. Click Shared Folders. Then, click the add folder icon in top right corner. For the Folder Path, navigate to /datto/mounts/vboxshare. Check in the box for Auto-mount. The window should appear as in Figure 11. Click OK.

    Figure 11 - Add Share

  8. Verify that the window appears as shown in Figure 12.

    Figure 12 - Shared Folders Settings

  9. Start the VM

    Figure 13 - Start VM Icon

  10. Click Devices > Install Guest Additions, as shown in Figure 14.

    Figure 14 - Install Guest Additions

  11. Log into the machine.

  12. Once you are in Windows, go to Start > Computer. Click on the VirtualBox Guest Additions (CD/DVD drive) icon.

  13. Click Next, as shown in Figure 15.

    Figure 15 - VirtualBox Guest Additions Installer

  14. Click Next for the Install Location.

    Figure 16 - Virtual Box Guest Additions Install Location

  15. Click the Install button, as shown in Figure 17.

    Figure 17 - Install

  16. If a Windows Security warning pops up, click Install again.

    Figure 18 - Windows Security Warning

  17. Click Finish to complete the installation.

    Figure 19 - Finish the VirtualBox Guest Additions Installation

Using the Share

  1. Let the server reboot, and then log back in. Go into Computer, and you will see the VirtualBox share, as shown in Figure 20.

    Figure 20 - VirtualBox Share

  2. Drag and drop necessary files into that share.

  3. Files can be accessed from another machine via UNC: //<IP of Datto>/<sharename>. See Figure 21.

    Figure 21 - Accessing the Share

  4. You will see a window as shown in Figure 22. You can transfer your files from there.

    Figure 22 - Share

Was this article helpful?

2 out of 2 found this helpful

You must sign in before voting on this article.

Want to talk about it? Head on over to our Community Forum!