How to backup data in a cube and metadata for a cube?
-
- Posts: 23
- Joined: Wed Sep 21, 2011 6:18 am
- OLAP Product: TM1
- Version: 9.4.1
- Excel Version: 2003
How to backup data in a cube and metadata for a cube?
I would like to modify some rule, process for a cube, how to backup data in a cube and metadata for the cube?
-
- Community Contributor
- Posts: 147
- Joined: Mon Nov 29, 2010 6:30 pm
- OLAP Product: Cognos TM1
- Version: 10.1
- Excel Version: Office 2010
Re: How to backup data in a cube and metadata for a cube?
If you have access to the Server you can copy the .cub, .dim, .pro, and .rux files to a backup folder - ensure you run a SaveData before you do so that all data in memory is written to disk.
Alternatively you can export the whole cube, right-click on the cube and use Export as ASCII/Text File. This will export the data in the cube to a .cma (text) file. Note that this won't backup your dimensions or processes so if you are planning on modifying those, then you should still copy the files, or create duplicates of the originals.
The big question is, though, why aren't you doing these changes in a development environment first?
Alternatively you can export the whole cube, right-click on the cube and use Export as ASCII/Text File. This will export the data in the cube to a .cma (text) file. Note that this won't backup your dimensions or processes so if you are planning on modifying those, then you should still copy the files, or create duplicates of the originals.
The big question is, though, why aren't you doing these changes in a development environment first?
-
- MVP
- Posts: 3230
- 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: How to backup data in a cube and metadata for a cube?
Maybe because not all customers have a dev environment... As a consultant, I often see this.Christopher Kernahan wrote:The big question is, though, why aren't you doing these changes in a development environment first?
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
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
- qml
- MVP
- Posts: 1096
- Joined: Mon Feb 01, 2010 1:01 pm
- OLAP Product: TM1 / Planning Analytics
- Version: 2.0.9 and all previous
- Excel Version: 2007 - 2016
- Location: London, UK, Europe
Re: How to backup data in a cube and metadata for a cube?
Very true. But on the other hand, it's not difficult to create your own version of a dev environment using the Local Server functionality for which you don't even need an additional licence. There might be an issue of available resource if the TM1 application is big, but in this case you should be able to just make a copy of the bit you will be working on.Wim Gielis wrote:Maybe because not all customers have a dev environment... As a consultant, I often see this.
It's always better than developing directly in production!
Kamil Arendt
-
- MVP
- Posts: 3230
- 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: How to backup data in a cube and metadata for a cube?
You're right qml.
What I do experience, however, is:
- I even do not have always access to the server (IT policy), so copying the data dir is far from feasible most of the time
- applying changes to an existing TM1 model take about 1-2 days of worth of consultancy. Hence if we need to copy a model, wait for it to be up and running, make and test the changes, copy the changes to the real TM1 environment... we "lose" time as well. It is a lot safer but not always possible.
Of coruse having DEV and PROD is better
What I do experience, however, is:
- I even do not have always access to the server (IT policy), so copying the data dir is far from feasible most of the time
- applying changes to an existing TM1 model take about 1-2 days of worth of consultancy. Hence if we need to copy a model, wait for it to be up and running, make and test the changes, copy the changes to the real TM1 environment... we "lose" time as well. It is a lot safer but not always possible.
Of coruse having DEV and PROD is better

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
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
-
- Community Contributor
- Posts: 147
- Joined: Mon Nov 29, 2010 6:30 pm
- OLAP Product: Cognos TM1
- Version: 10.1
- Excel Version: Office 2010
Re: How to backup data in a cube and metadata for a cube?
Wim, I would hope your first recommendation is that they create one.Maybe because not all customers have a dev environment... As a consultant, I often see this.
-
- MVP
- Posts: 3230
- 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: How to backup data in a cube and metadata for a cube?
Sure, but that's more a sales discussion in which I'm npot very much involved.Christopher Kernahan wrote:Wim, I would hope your first recommendation is that they create one.Maybe because not all customers have a dev environment... As a consultant, I often see this.
I can only stress the benefits of having it set up, and risks of not having it set up.
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
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