Page 1 of 1

Copy cub files

Posted: Tue Aug 13, 2019 3:34 pm
by MarenC
Hi,

is there any issue with copying .cub files to another folder while the tm1 instance is still running. Or should the instance be stopped first?

Maren

Re: Copy cub files

Posted: Tue Aug 13, 2019 3:56 pm
by Emixam
Hi,

There's no issue of copying (CTRL-C) a .cub file but there's a risk for sure if you cut (CTRL-X) or delete a cube. Also, don't forget to CubeSaveData(sCube) if you want to most recent data.

That being said, I always ask to my collegue to "NEVER TOUCH THE DATA FOLDER WHEN THE SERVER IS RUNNING".

Cheers !

Re: Copy cub files

Posted: Tue Aug 13, 2019 7:09 pm
by tomok
MarenC wrote:
Tue Aug 13, 2019 3:34 pm
Hi,

is there any issue with copying .cub files to another folder while the tm1 instance is still running. Or should the instance be stopped first?

Maren
As long as you understand that the .cub file is nothing more than a backup to disk of the cube in memory, minus any changes since the last CubeSaveData or SaveDataAll command was issued, then no, there is no issue with copying it anywhere.

Re: Copy cub files

Posted: Tue Aug 13, 2019 8:56 pm
by Wim Gielis
tomok wrote:
Tue Aug 13, 2019 7:09 pm
As long as you understand that the .cub file is nothing more than a backup to disk of the cube in memory, minus any changes since the last CubeSaveData or SaveDataAll command was issued, then no, there is no issue with copying it anywhere.
And, assuming that this cube is going to be used in a TM1 model, make sure the relevant dimensions are up to date as well.

Re: Copy cub files

Posted: Wed Aug 14, 2019 12:29 pm
by MarenC
Excellent, thanks for the advice.