You can use the msmdarch command to archive and restore databases in Microsoft® SQL Server™ 2000 Analysis Services. You can execute the command in the Command Prompt window or from a .bat file. The msmdarch command returns an exit code of 1 if it fails. For more information, see Archiving and Restoring Databases.
To archive an Analysis Services database using the msmdarch command
To restore an Analysis Services database using the msmdarch command