This content has been marked as final.
Show 3 replies
-
1. Re: Automating restoration script
Jeff StraussNov 24, 2015 9:49 AM (in response to jostna srinivas)
you could do something like this to create a date variable.
for /F "usebackq tokens=1,2 delims==" %%i in (`wmic os get LocalDateTime /VALUE 2^>NUL`) do if '.%%i.'=='.LocalDateTime.' set ldt=%%j
set ldt=%ldt:~0,4%-%ldt:~4,2%-%ldt:~6,2%
tabadmin restore --no-config %TABLEAU_RESTORE_PATH%%TABLEAU_RESTORE_FILE%%ldt%.tsbak %TABLEAU_SVC_ACCT_PWD_ARG%
-
2. Re: Automating restoration script
Jeff StraussNov 30, 2015 12:55 PM (in response to Jeff Strauss)
did this help?
-
3. Re: Automating restoration script
Toby ErksonJan 5, 2016 9:18 AM (in response to jostna srinivas)
jostna srinivas wrote:
Hi Team,
i am trying to restore the backup created on daily basis. In this respect, what my requirement is
1.activate the license key,
2.restore the backup
3.restore the license key.
...
What is the purpose of steps 1 & 3 when doing a daily backup?