计算机等级考试辅导:SQLServer2005analysis库的备份和恢复
计算机等级考试辅导:SQLServer2005analysis库的备份和恢复 #
SQL Server 2005 analysis 库图形界面的备份实现方法请参考Microsoft文档
如果要在自动作业里建新步骤时请用 SQL Server analysis service 命令:
如果要在自动作业里建新步骤时请用 SQL Server analysis service 命令:
<Backup xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<Object>
<DatabaseID>test</DatabaseID>
</Object>
<File>F:backupstest.abf</File>
<AllowOverwrite>true</AllowOverwrite>
<ApplyCompression>true</ApplyCompression>
</Backup>
兰色字的部分可以替换成你想备份的数据库名和物理文件名.
还原时使用的SQL Server analysis service 命令:
<Restore xmlns="http://schemas.microsoft.com/analysisservices/2003/engine">
<File>F:backupstest.abf</File>
<DatabaseName>new_test</DatabaseName>
</Restore> #