I can backup and restore databases on Microsoft SQL server Analysis Service 2008 using GUI as from Backup SSAS

I want to schedule backup and restore it to another server every night. so what i did is : I scripted out the backup and restore process from the GUI. Created a new SQL server agent job in database engine and added a "Run SSAS query" step. Copied the scripts to this step. But it fails. the scripts that the GUI copied out look like:

<Backup xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">

<Restore xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">

Any help please?


Fixed- the job step had to be "Run SSAS command" rather than "Run SSAS query"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.