Copy cub files

Post Reply
MarenC
Regular Participant
Posts: 447
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 »

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
Regular Participant
Posts: 156
Joined: Tue May 21, 2019 3:33 pm
OLAP Product: TM1
Version: PA 2.0.x
Excel Version: 2016
Location: The Internet

Re: Copy cub files

Post 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 !
tomok
MVP
Posts: 2836
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 »

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: 3240
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Copy cub files

Post by Wim Gielis »

tomok wrote: Tue Aug 13, 2019 7:09 pmAs 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

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
MarenC
Regular Participant
Posts: 447
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 »

Excellent, thanks for the advice.
Post Reply