Copy cub files

Post Reply
MarenC
Posts: 54
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Copy cub files

Post by MarenC » 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

Emixam
Posts: 40
Joined: Tue May 21, 2019 3:33 pm
OLAP Product: TM1
Version: TM1 10.2
Excel Version: 2016

Re: Copy cub files

Post by Emixam » Tue Aug 13, 2019 3:56 pm

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 !

tomok
MVP
Posts: 2642
Joined: Tue Feb 16, 2010 2:39 pm
OLAP Product: TM1, Palo
Version: Beginning of time thru 10.2
Excel Version: 2003-2007-2010-2013
Location: Atlanta, GA
Contact:

Re: Copy cub files

Post by tomok » Tue Aug 13, 2019 7:09 pm

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.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/

Wim Gielis
MVP
Posts: 2277
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1
Version: PAL 2.0.8
Excel Version: Office 365 - latest
Location: Brussels, Belgium
Contact:

Re: Copy cub files

Post by Wim Gielis » Tue Aug 13, 2019 8:56 pm

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.
Best regards,

Wim Gielis

Excel Most Valuable Professional, 2011-2014
http://www.wimgielis.com ==> 109 TM1 articles and a lot of custom code
Newest blog article: Set up a TM1 model with AutoHotKey as a service or application

MarenC
Posts: 54
Joined: Sat Jun 08, 2019 9:55 am
OLAP Product: Planning Analytics
Version: Planning Analytics 2.0
Excel Version: Excel 2016

Re: Copy cub files

Post by MarenC » Wed Aug 14, 2019 12:29 pm

Excellent, thanks for the advice.

Post Reply