Recover }ClientGroups cube

Post Reply
Whatamouth
Posts: 3
Joined: Mon Nov 30, 2015 7:55 am
OLAP Product: TM1
Version: 10.2.20400.80
Excel Version: 2010

Recover }ClientGroups cube

Post by Whatamouth »

Hi, I accidentally zeroout }ClientGroups cube data through a TI :(
I have two users both with Admin access, apparently both wiped, hence unable to log back in to restore all user groups manually.

Q.
1. Is there a way to recover/roll back the cube data?
2. Does zeroing out }ClientGroups cube (all leaf nodes of }Client and }Group added to zerooutview) wipes all clients from each group?
3. If there are no }Clients added Admin group, how can I add one? I don't have admin access now :(

Thanks!
mvaspal
Community Contributor
Posts: 341
Joined: Wed Nov 03, 2010 9:16 pm
OLAP Product: tm1
Version: 10 2 2 - 2.0.5
Excel Version: From 2007 to 2013
Location: Earth

Re: Recover }ClientGroups cube

Post by mvaspal »

1. Yes, assuming you have a backup simply restore the .cub file
2. This depends on the security mode. If you use CAM security with Cognos or AD groups, once the users log back in that cube will be re-populated automatically. If you use native TM1 groups then yes, they are wiped out from the groups
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: Recover }ClientGroups cube

Post by Wim Gielis »

Whatamouth wrote:3. If there are no }Clients added Admin group, how can I add one? I don't have admin access now :(
First recover the said cube from your backup, then we will have a look at it again, if needed.
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
Whatamouth
Posts: 3
Joined: Mon Nov 30, 2015 7:55 am
OLAP Product: TM1
Version: 10.2.20400.80
Excel Version: 2010

Re: Recover }ClientGroups cube

Post by Whatamouth »

mvaspal wrote:1. Yes, assuming you have a backup simply restore the .cub file
2. This depends on the security mode. If you use CAM security with Cognos or AD groups, once the users log back in that cube will be re-populated automatically. If you use native TM1 groups then yes, they are wiped out from the groups

Thank you! :)
So, I'm working on restoring the cube. I checked the current .cub file, check sum is just the same as backup as I'm unable to perform savedata at the moment (or can I do it without admin?)
I think there are pending updates to other cubes too. If I kill the service, will I lose all these data changes from all the cubes?
Sorry for the add-on questions.

Br
User avatar
Steve Rowe
Site Admin
Posts: 2464
Joined: Wed May 14, 2008 4:25 pm
OLAP Product: TM1
Version: TM1 v6,v7,v8,v9,v10,v11+PAW
Excel Version: Nearly all of them

Re: Recover }ClientGroups cube

Post by Steve Rowe »

If you have not saved data yet then copy the .cub off the disc.
Unload the cube in perspectives (not sure if this is available vs ctrl cubes, normally on the right click menu) or stop the instance.
Copy the .cub back into the data directory.
Restart the instance / load the cube
Technical Director
www.infocat.co.uk
User avatar
mattgoff
MVP
Posts: 518
Joined: Fri May 16, 2008 1:37 pm
OLAP Product: TM1
Version: 10.2.2.6
Excel Version: O365
Location: Florida, USA

Re: Recover }ClientGroups cube

Post by mattgoff »

Assuming you have filesystem access:
  1. Create a .rux file to map one user to admin.
  2. Restart server.
  3. Log in to account which now has admin access.
  4. Add admin access to second user.
  5. Log out first user. Log in via second user, delete rulefile, grant access to first user (and whomever else).
If you shutdown the service from the Services snap in, it will do a SaveDataAll automatically. If you TaskKill and have transaction logging enabled, it will replay uncommitted transactions automatically on restart.

This will get you back in ASAP, but obviously not restore old data. If you have access to the old cube fiel, that's the best way to restore access. If there's a delay to restore the old data, you can get back in this way and restore old data later.

Matt
Please read and follow the Request for Assistance Guidelines. It helps us answer your question and saves everyone a lot of time.
Whatamouth
Posts: 3
Joined: Mon Nov 30, 2015 7:55 am
OLAP Product: TM1
Version: 10.2.20400.80
Excel Version: 2010

Re: Recover }ClientGroups cube

Post by Whatamouth »

Thanks heaps fellas! Got the cube and users access back :D
I've confirmed, stopping the service automatically performs SaveDataAll prior to actually stopping the server instance.

Br
Post Reply