This stored procedure will loop through all of the Analysis Services databases in the repository and back them up to a .cab file using the msmdarch command. A log file will be included with the backup.
There will be 2 days worth of backups saved to a local disk drive on the server.
It may be necessary to add "C:\Program Files\Microsoft Analysis Services\Bin" to the path statement on the server in order for SQL Server to find msmdarch when running the stored procedure as part of a scheduled SQL job.
I Need a Backup and I Need It Now
Have you ever wished that creating a backup on the fly was easier and quicker? Whether you do it with the GUI or with T-SQL, you still have to open up Management Studio, connect to the database, and go through the steps. You have to figure out ...
2009-04-29
4,263 reads