Skip to main content

Hello, I am working with bat scripts for my tableau backups - however, my issue is trying to get the MOVE batch script to work, moving the tsbak file from one server to another, using windows scheduler. It looks like all the permissions have been addressed but it's still not working as expected. My script is as such:

MOVE /y "C:\ProgramData\Tableau\Tableau Server\data\tabsvc\files\backups\bostblat1601-backup.tsbak" "\\bostblat1602\TableauBackups"

\\pause

exit

 

This worked pre 2018.2. We are testing version 2019.1.20.

 

Also, it works when executing the bat file from the folder.

 

Anyone have success here trying to run this via windows task scheduler?

 

Thanks,

Jamie

5 answers
  1. Sep 29, 2020, 4:39 PM

    @James Golden​ ,

    I agree with @Jawahar Konduru​ that this is an OS issue. Here's how I have a batch script set up on our Windows Task Scheduler that uses TSM commands:

    @James Golden​ ,I agree with @Jawahar Konduru​ that this is an OS issue.

     

    I'm in the Administrator user group on the server, as is the service account that it runs under (Security options box). However, I could run it strictly under my account if I wanted to but that's not a good idea if I should ever leave the company.

     

    Make sure the account that runs the task has the correct privileges on the folders to copy/delete files.

0/9000