deeejay

tabadmin - Maintenance batch files

Jun 17th, 2015
546
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.62 KB | None | 0 0
  1. Copies Tableau PROD logs and backup file to Dev or Standby server
  2. Note: Add path to bin to env vars
  3.  
  4. Tableau PROD Server batch
  5. ===
  6. E:
  7. cd "Tableau Server\9.0\bin"
  8. tabadmin ziplogs -l -n -f
  9. copy logs.zip \\tableau_dev_svr\TableauBackups
  10. tabadmin stop
  11. tabadmin backup E:\TableauBackups\tabserver
  12. tabadmin start
  13. copy E:\TableauBackups\tabserver.tsbak \\tableau_dev_svr\TableauBackups\tabserver.tsbak
  14. tabadmin cleanup
  15.  
  16. Tableau DEV Server batch
  17. ===
  18. @echo off
  19. tabadmin stop
  20. tabadmin restore E:\TableauBackups\tabserver.tsbak --password some_password
  21. tabadmin set subscriptions.enabled -d
  22. tabadmin stop
  23. tabadmin start
Advertisement
Add Comment
Please, Sign In to add comment