KNOWLEDGE BASE

Restoring from backup causes Tableau Server dataengine folder to grow unexpectedly


Published: 23 Jul 2020
Last Modified Date: 27 Jul 2020

Issue

When repeatedly restoring Tableau Server backup files to a stopped Tableau Server environment, using a TSM version of Tableau Server, the dataengine folder grows unexpectedly causing disk space issues. 

Environment

  • Tableau Server 2018.2 and up on Windows
  • Tableau Server 10.5 and up on Linux 

Resolution

There are two options to resolve the disk space issue:

Option 1: After the restore from backup, start Tableau Server and allow it to run until the disk space is reclaimed. 
Option 2: Before restoring from backup, rename the dataengine folder for example "dataengine old". Then once the backup is successfully restored, delete the old dataengine folder. 
  • In Windows he dataengine folder can be found under Tableau/Tableau Server/Data/tabsvc/dataengine 
  • In Linux the dataengine folder can be found under /var/opt/tableau/tableau_server/data/tabsvc/dataengine

Cause

This behavior is expected. Tableau Backup files contain orphaned extracts which are added to any server the backup is restored to. These extracts are not removed from Tableau Server until a reaping job is schedule and completed. In order for this job to be queued and processed Tableau Server must be started and allowed to run. When multiple restores from backup occur in the same Tableau Server environment without starting Tableau Server the orphaned extracts continue to take up disc space and can cause restores from backup to fail due to disk space issues. 
Did this article resolve the issue?