Page 1 of 1
Quick way to copy a Cube?
Posted: Thu Mar 31, 2011 12:32 am
by fleaster
Ok just a simple question...
I would like to make a "frozen" copy of a cube with all dimensions/data etc intact and make it available to users
e.g. GL cube => GL_OLD cube - the old cube would not be updated, but just available for reference purposes
Is there a quick way to do this, short of recreating everything using TI...?
Matt
P.S. I know the cube rules may be a bit problematic with feeders from other cubes etc, but am not so concerned about this part
Re: Quick way to copy a Cube?
Posted: Thu Mar 31, 2011 7:08 am
by Martin Ryan
If you just want a copy of the raw data then you can stop the server, copy the .cub file in the data directory and start it up again. The new cube will be there - but as you mention it'll be without rules or views.
If you want all the calculated data then there's no alternative but TI.
As an alternative to a whole new cube you could create a "snapshot" dimension in your main cube (or just use your version dimension) and copy the data into an element in there instead.
Martin
Re: Quick way to copy a Cube?
Posted: Thu Mar 31, 2011 7:23 am
by fleaster
Thanks for the info Martin, i suspected a file copy might have to do ...
...ok another dumb question - is there a way to rename a cube?

Re: Quick way to copy a Cube?
Posted: Thu Mar 31, 2011 10:42 am
by qml
Yes, just rename the copied file and restart the sever.
Re: Quick way to copy a Cube?
Posted: Sun Apr 03, 2011 11:12 pm
by fleaster
Ok I copied GL.cub to GL_OLD.cub and restarted the server, but no joy - the copied cube does not show up in server explorer... is there an exta step I need to take to "register" the new cube...?
thanks!
Matt
Re: Quick way to copy a Cube?
Posted: Mon Apr 04, 2011 12:48 am
by Martin Ryan
Not if you're an administrator, it should just be there. If you're not logged in as an administrator then you might have to set security to show you the cube.
Martin