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
Copy cub files
-
- Posts: 40
- Joined: Tue May 21, 2019 3:33 pm
- OLAP Product: TM1
- Version: TM1 10.2
- Excel Version: 2016
Re: Copy cub files
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 !
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 !
-
- MVP
- Posts: 2641
- 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
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.
-
- MVP
- Posts: 2276
- 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
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
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
-
- 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
Excellent, thanks for the advice.