deeejay icon

tabadmin - Maintenance batch files

deeejay | PRO | 06/17/15 03:43:23 PM UTC | 0 ⭐ | 495 👁️ | Never ⏰ | []
Batch |

620 B

|

None

|

0 👍

/

0 👎

Copies Tableau PROD logs and backup file to Dev or Standby server
Note: Add path to bin to env vars
 
Tableau PROD Server batch
===
E:
cd "Tableau Server\9.0\bin"
tabadmin ziplogs -l -n -f
copy logs.zip \\tableau_dev_svr\TableauBackups
tabadmin stop
tabadmin backup E:\TableauBackups\tabserver
tabadmin start
copy E:\TableauBackups\tabserver.tsbak \\tableau_dev_svr\TableauBackups\tabserver.tsbak
tabadmin cleanup
 
Tableau DEV Server batch
===
@echo off
tabadmin stop
tabadmin restore E:\TableauBackups\tabserver.tsbak --password some_password
tabadmin set subscriptions.enabled -d
tabadmin stop
tabadmin start

Comments