SQL Server Articles, SQL Server Tips, SQL Server Tutorials, SQL Server Tuning, SQL Server DBA, SQL Server Basics, Training, etc - MyTechMantra.com

How to Automate Backup of Analysis Services Database Using SQL Server Agent Job

In this article we will take a look at how to create an SQL Server Agent Job to backup an Analysis Services Database. However, read the following article to know the steps you need to follow to restore a database in SQL Server.

Learn How to Backup Analysis Services Database in SQL Server Using SQL Server Management Studio

Steps to Backup Analysis Services Database Using SQL Server Agent Job

Step 1: Start SQL Server Management Studio and connect to Database Engine.

Step 2: Expand SQL Server Agent, right click Jobs and choose New Job… from the popup menu as shown in the snippet below.

Automate Backup of Analysis Services Database Using SQL Server Agent Job

Step 3: In the New Job dialog box, provide a name for the job and then click on Steps page to create a new step.

How to Automate Backup of SSAS Database Using SQL Server Agent Job

Trending Analysis Services Articles and Tips

Step 4: In New Job Step, specify an appropriate step name and choose SQL Server Analysis Services Command as the type from the drop down list. Next you need to mention the Analysis Server Name and copy paste the below mentioned XMLA script as shown in the snippet below.

XMLA Script to Backup Analysis Services Database in SQL Server

Step 5: Click OK to save the New Job Step and return to the parent window. Click OK once again to create the SQL Server Agent Job to automate the backup of analysis services database.

Recommendation: From time to time you must perform Database Consistency Checker (DBCC CHECK) For all SQL Server Analysis Services Database to avoid any Corruption Issues for Analysis Services Database in SQL Server 2016 for Tabular and Multidimensional Databases.

Conclusion

In this article you have seen how to create an SQL Server Agent Job to backup an analysis services database.

Chetna Bhalla

LESS ME MORE WE

Chetna Bhalla, the founder of MyTechMantra.com, believes that by sharing knowledge and building communities, we can make this world a better place to live in. Chetna is a Graduate in Social Sciences and a Masters in Human Resources and International Business. She is an alumnus of Vignana Jyothi Institute of Management, Hyderabad, India. After graduation, Chetna founded this website, which has since then become quite a favorite in the tech world. Her vision is to make this website the favorite place for seeking information on Databases and other Information Technology areas. She believes that companies which can organize and deploy their data to frame strategies are going to have a competitive edge over others. Her interest areas include Microsoft SQL Server and overall Database Management. Apart from her work, Chetna enjoys spending time with her friends, painting, gardening, playing the violin, and spending time with her son.

Add comment

Newsletter Signup! Join 15,000+ Professionals




Be Social! Like & Follow Us

Follow us

Don't be shy, get in touch. We love meeting interesting people and making new friends.

Advertisement