Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Backup all SSAS databases using TSQL Expand / Collapse
Author
Message
Posted Wednesday, March 27, 2013 8:07 PM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, November 21, 2014 3:10 PM
Points: 32, Visits: 497
Comments posted to this topic are about the item Backup all SSAS databases using TSQL
Post #1436242
Posted Thursday, May 16, 2013 11:08 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Friday, May 31, 2013 3:04 PM
Points: 10, Visits: 26
Hello Theo - can I use your script at work? hopefully you dont mind. I need to backup some SSAS databases automatically :)

Also what does this do? http://schemas.microsoft.com/analysisservices/2003/engine"

I tested in my local computer with no access to the internet and the scrip still worked fine.


Thanks' -
Oswaldo
Post #1453692
Posted Friday, May 31, 2013 8:59 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: 2 days ago @ 8:07 AM
Points: 1, Visits: 245
This passes the DatabaseName where the DatabaseId should go. This can cause problems for databases that do not have the same value for DatabaseName and DatabaseId.
Post #1458743
Posted Friday, September 12, 2014 8:01 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, October 7, 2014 8:22 PM
Points: 4, Visits: 22
If you need something with more options, like compress, upload to the cloud (amazon s3, glacier, dropbox, azure). You can try www.sqlserverbooster.com and it's free
Post #1613039
Posted Friday, September 12, 2014 8:36 AM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, November 21, 2014 3:10 PM
Points: 32, Visits: 497
Hi Erik,

I knew of this tool, but this one requires running a seprate service on the SQL server, which is fine if you are allowed do that.

If not... you could use my script :)
Post #1613059
Posted Friday, September 19, 2014 7:40 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Tuesday, October 7, 2014 8:22 PM
Points: 4, Visits: 22
It's true. But remember that you can disable the service and just run the GUI that also makes the backups. And also exists another options. You can install it in a different machine and makes remotely the backups. All this effort worth it if you want to upload to the cloud, move it through the network, encrypt or something else more complex.

You script it's clean and elegant.
Post #1615481
Posted Thursday, November 13, 2014 7:21 AM
Grasshopper

GrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopperGrasshopper

Group: General Forum Members
Last Login: Today @ 7:57 AM
Points: 16, Visits: 310
Hi Theo,
I am successfully backing up SSAS databases following you idea.
It was definitely not straight forward, I had a few issues
as you can see here
and also here

But in my case:
1) I don't have sql server installed on the same machine that I have ssas
2) I don't have ssas installed on the same machine that I have sql server

Now the new challenges are:
1) how do you do a RESTORE VERIFYONLY in SSAS
2) how do you do a DBCC CHECKDB in SSAS


Another thing that I needed done is to delete old SSAS backup files.
this you can see on this link, I have done it using PowerShell, from a remote computer.
It deletes files older than 2 days.
All the scripts are there.


regards
Marcelo
Post #1634149
Posted Friday, November 14, 2014 10:18 AM


SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Friday, November 21, 2014 3:10 PM
Points: 32, Visits: 497
Interesting idea....

I'll look into that too :)
Post #1634693
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse