One method for backing up your OLAP cube is to use the Microsoft MetaData Scripter. (It's part of the SQL2K resource Kit.) This produces a vb script backup of the OLAP db. As for automation..... I haven't got to that yet. Maybe someone else has taken this further?
Create a Sql Job and use xp_cmdshell to issue the commandline call to archive the cube. if your AS is running on a diffrent machine than your SQL server you could use an AT job. Or write a dso app that runs as a service to do it as scheduled.
If you have the OLAP repository stored in SQL Server. Isn't it enough to backup the SQL Server database? This is how I do it.
This can of course be done using the SQL server agent.
If you back up the Repository and Data files, you can restore your databases completely. I don't know a way to backup a single cube but I have used the following to backup databases and I was able to recover them completely.
The Repository backup is easy if you have it migrated to SQL server, if not just backup the access file in BIN directory under Analysis Services. Also backup the Data directory.
Whenever you copy these files back to their right places and restart the Analysis Services, you'll have restored the status to the time you took the backup.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.