Search the VMware Knowledge Base (KB)
View by Article ID

Exporting VMware Horizon Workspace 1.x Data-VA files (2080325)

  • 3 Ratings


VMware Horizon Workspace Portal 2.0 does not use Horizon Files. If you want to continue using an Enterprise File Sync & Share solution after upgrading, the existing files from the data-va can be exported and imported into any EFSS system, including AirWatch Secure Content Locker.

This article provides instructions for Workspace Administrators to export their existing user files from the data-va.
Note: Importing your data into an EFSS system is out of scope of this article. For more information, contact the EFSS system vendor .


Note: Ensure to perform this proceduire before upgrading to Workspace Portal 2.0.

To export existing user files from the data-va, you must get the list of current users running the zmbackup and zmextract scripts. 

To get the list of current users running the zmbackup and zmextract scripts:
  1. Copy the zmextract script attached to this article to /home/sshuser/ on each data-va.
  2. Log in to each data-va as root and run this script:

    install -o zimbra -g zimbra -m 0774 /home/sshuser/ /opt/zimbra/bin/

  3. Run an entitled user report for Files in the Workspace Administration Console:

    1. Navigate to Administration Console > Reports.
    2. Select Resource Entitlements report.
    3. Select the Horizon Files application and click Show.

  4. Click Export as CSV and save the file.
  5. Log in to the data-va virtual machine as the zimbra user:

    sudo su - zimbra

  6. Cut and paste column C into a file on the data-va virtual machine.

    For example:


  7. Run this command on each data-va virtual machine as the zimbra user:

    zmbackup -f --noZip --sync --excludeSearchIndex --includeBlobs --account `cat /tmp/filesusers`

    Note: The default backup location (/opt/zimbra/backup) has a size of 20GB. If you back up more than 20GB of data, use the --target option to change your output location to a larger partition or network storage device. For more information, see the zmbackup -- help file.

  8. Find the newly created backup sessions directory:

    ls -la /opt/zimbra/backup/sessions

    The output displays an entry similar to: 


  9. Check the zmextract help file to familiarize with the tool:

    zmextract -h

  10. Run this zmextract command with a target directory configured: -v /opt/zimbra/backup/sessions/full-20140429.014621.339 /path/to/desired/output

Note: This program creates the directory tree structure from a Zimbra backup rooted at backup-root-dir.


In this example, user1 and user2 are replaced with the email addresses of the users. Only the recent version of each file is extracted and the comments and sharing information are not extracted. A shared file is extracted under the user directory for the user who originally created the share, not the person who uploaded the file or with share permission on the folder.

See Also


Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.


  • 3 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)

Please enter the Captcha code before clicking Submit.
  • 3 Ratings