1 of 1 people found this helpful
I dont know much about Azure Copy, but I would look at your syntax
1: Are the logfiles in the bin folder?
2: the command should look more like this (then what you have) (ie check your double quotes locations)
AzCopy /Source:"C:\Program Files\Tableau\Tableau Server\10.3\bin"/Dest:https://xxx.blob.xxx.xxx.xxx /DestKey:key /Pattern:"logs.zip"
Hope this helps
Thank for pointing me to the syntax of the command. I've fixed up that. Actually, I have created a backup script as below and need some help to make it work.
- tabadmin ziplogs -l -n -f -p "C:\Program Files\Tableau log\ logs.zip”
- tabadmin cleanup
- AzCopy /Source:<source_path /Dest:<dest_path>
- tabadmin backup backup_Test -d –v
- timeout /t 90
- if tabadmin status != 'RUNNING' then <code_to_email_an_alert>
Step 3: tabadmin commands require the bin directory where as Azcopy works with the AzCopy installation directory (%ProgramFiles(x86)%\Microsoft SDKs\Azure\AzCopy).
Will the script automatically change the path? If not, please tell me what modifications need to be done?
Step 6: If I replace <code_to_email_an_alert> with firstname.lastname@example.org, then is this correct?
Would appreciate your help.