Tm1 data Backup - best practice

Post Reply
ravi
Posts: 138
Joined: Mon Apr 26, 2010 12:39 pm
OLAP Product: cognos
Version: tm1 9.5
Excel Version: 2007

Tm1 data Backup - best practice

Post by ravi »

Hi

Would like to know -the best practice tm1 data directory -while refreshing data directory from test to prod and dev.

while refreshing dev environment from prod Is there any code in dev that needs to be saved so that we don’t lose it with the refresh?

Regards,
Ravi
Christopher Kernahan
Community Contributor
Posts: 147
Joined: Mon Nov 29, 2010 6:30 pm
OLAP Product: Cognos TM1
Version: 10.1
Excel Version: Office 2010

Re: Tm1 data Backup - best practice

Post by Christopher Kernahan »

How are you "refreshing"? Are you copying the Prod data directory over the Dev data directory? In this case you'll overwrite anything in Dev.
ravi
Posts: 138
Joined: Mon Apr 26, 2010 12:39 pm
OLAP Product: cognos
Version: tm1 9.5
Excel Version: 2007

Re: Tm1 data Backup - best practice

Post by ravi »

Steps:

1) take back of dev data folder
2) delete the data directory objects from folder
3) copy data objects from prod and paste it in dev

ravi
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: Tm1 data Backup - best practice

Post by tomok »

ravi wrote:Is there any code in dev that needs to be saved so that we don’t lose it with the refresh?
How would anybody but yourself know this????? No one on this forum could possibly know what you have done in DEV versus PROD. The bottom line is that if you refresh DEV by copying in the contents of the data folder from PROD then you will be replacing everything that USED TO BE in DEV. To the extent that you have done development in DEV that had not already been promoted to PROD then it will be gone. Best practive is always to make a backup copy of the data folder in DEV before doing the refresh. Actually, you should do this for ALL environments any time you do a promotion so that youi can have a direct and easy recovery path in case you want to back it out.
Tom O'Kelley - Manager Finance Systems
American Tower
http://www.onlinecourtreservations.com/
ravi
Posts: 138
Joined: Mon Apr 26, 2010 12:39 pm
OLAP Product: cognos
Version: tm1 9.5
Excel Version: 2007

Re: Tm1 data Backup - best practice

Post by ravi »

Hi

I noticed that Views that are built in prod are lost when i refreshed the data from Prod to dev-

could you please comment.

Raavi
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Tm1 data Backup - best practice

Post by David Usherwood »

Errr....
How did you refresh the data?
If you copied the cubes, wouldn't it be sensible to copy the views as well?
But really, you need to have a better understanding of this admittedly quite tricky task. Iboglix provide no tools at all to help so you have to do it yourself.
afshin
Posts: 29
Joined: Sun Sep 05, 2010 2:45 am
OLAP Product: TM1
Version: 9.5
Excel Version: 2003

Re: Tm1 data Backup - best practice

Post by afshin »

"Steps:

1) take back of dev data folder
2) delete the data directory objects from folder
3) copy data objects from prod and paste it in dev"

"I noticed that Views that are built in prod are lost when i refreshed the data from Prod to dev-
could you please comment."

At no point you restore the views back on the dev server !!
winsonlee
Regular Participant
Posts: 180
Joined: Thu Jul 01, 2010 3:06 am
OLAP Product: Cognos Express
Version: 9.5
Excel Version: 2007
Location: Melbourne, Australia

Re: Tm1 data Backup - best practice

Post by winsonlee »

Which version of TM1 are you using ?

CX9.5 comes with a very handy tool for you to backup your data. On Cognos Express Manager under administration, you can use Backup and Restore. Create a backup for your dev server before restoring the data from the production.

If you are not, you can create a batch script to zip the data folder in your dev folder before replacing it with your production data. The two files that needs to be excluded from the copying process are tm1s.cfg and tm1rawstore.*.
afshin
Posts: 29
Joined: Sun Sep 05, 2010 2:45 am
OLAP Product: TM1
Version: 9.5
Excel Version: 2003

Re: Tm1 data Backup - best practice

Post by afshin »

You will also find "IBM Cognos TM1 Backup and Recovery Guide" from the IBM Developer Works helpful !!
Kyro
Community Contributor
Posts: 126
Joined: Tue Nov 03, 2009 7:46 pm
OLAP Product: MODLR - The CPM Cloud
Version: Always the latest.
Excel Version: 365
Location: Sydney, Australia
Contact:

Re: Tm1 data Backup - best practice

Post by Kyro »

For those not running Cognos Express w/ Manager - I've just posted this solution for backing up a TM1 Server. Its implemented as a TI process with a commercially free command line executable (7-Zip).
Heres the link: http://blog.tm1tutorials.com/2011/10/04 ... 1-backups/
Let me know if this helps, or if theres a better way - theres always a better way when it comes to TM1.
User avatar
jameswebber
Community Contributor
Posts: 188
Joined: Sun Nov 21, 2010 8:00 pm
OLAP Product: Cognos Express 10
Version: CE 10.1.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Tm1 data Backup - best practice

Post by jameswebber »

Post Reply