Tableau server backup is failing due to AccessDeniedException.
I have enough of storage with me i.e. around 109 GB is free
also I checked the directory permission i.e. service account is having full control on the tableau directories.
Error is given below in details.
D:\Tableau\packages\bin.20212.21.0610.0336>tsm maintenance backup -f ServerName_backup -d -u **** -p ****
Job id is '152', timeout is 1440 minutes.
6% - Starting the Active Repository instance, File Store, and Cluster Controller.
13% - Waiting for the Active Repository, File Store, and Cluster Controller to start.
20% - Installing backup services.
26% - Estimating required disk space.
33% - Gathering disk space information from all nodes.
40% - Analyzing disk space information.
46% - Checking if sufficient disk space is available on all nodes.
53% - Backing up configuration failed.
60% - Stopping the Active Repository if necessary.
66% - Waiting for the Active Repository to stop if necessary.
73% - Uninstalling backup services.
An error occurred on the server generating the backup.
This job failed due to unexpected error: 'AccessDeniedException'
java.nio.file.AccessDeniedException: D:\Tableau\data\tabsvc\tabadmincontroller\0\backup_staging\manifest.yml
See 'D:\Tableau\data\tabsvc\logs\tabadmincontroller\tabadmincontroller_*.log' on Tableau Server nodes running the Administration Controller process for server log information.
Hi All,
Found out the resolution on the issue which is given below.
This job failed due to unexpected error: 'AccessDeniedException'
java.nio.file.AccessDeniedException: D:\Tableau\data\tabsvc\tabadmincontroller\0\backup_staging\manifest.yml
- Remove the folder 0 as it is temporary folder generated during the backup creation
- Also check if the network service access has been removed from all the directory's in the tableau server installation folder.
- Network service access permission removal is the main root cause of the issue.
Thanks,
Abhijeet Sontakke