Data folder back up
Posted: Mon Feb 04, 2013 8:10 pm
Hi All,
I am working on automating back up process for production data folder on daily basis.
I know there are many ready mate scripts available for this back up process and i have gone through IBM back up docs and TM1 Tutorial blog
our company is a process oriented company and they want every one to follow same process even it makes your work complex
Inorder to achieve this back up i got Shell script from other team and this shell script backs up current data folder on daily basis and delete any data folder greater than last 30 days in back up data folder.
The problem with this shell script is if any new TM1 object is created or deleted during this process this shell script will fail.(usually it takes between 30 to 60 seconds to complete shell script)
our TM1 Application is Global application and we cannot restrict user's globally from accessing the server during this back up process because this process run's on other dependies so we dont have extact time frame for this
i tried achieving same thing with windows batch file i havent faced this issue but it has limitation on zipping the folder beyond 2 GB.(as i said above our company dont want to use it)
so in order to make this shell script to work in all situation with out fail and to make this process to be more dynamic i am planing to restrict users from performing modification in TM1 server during this 30 to 60 seconds till the shell script is completed
i have one procedure in my mind like running this entire process in Bulk load mode .
process 1 : START BULK MODE
process 2 : SAVE DATA ALL
EXECUTE SHELL SCRIPT FROM TI
process 3 : END BULK MODE
The reason i want to run this in bulk load mode is to make sure this process run's as a single threaded while communciating with TM1 Server.
Is it adviseable to run this back up process in bulk mode or we have any other work arounds
How it is going to effect performance, Is there any cons in this process.Please advise.
i am using TM1 10.1 on 2008 Windows R2
Thanks in advance for your valuable suggestions
I am working on automating back up process for production data folder on daily basis.
I know there are many ready mate scripts available for this back up process and i have gone through IBM back up docs and TM1 Tutorial blog
our company is a process oriented company and they want every one to follow same process even it makes your work complex
Inorder to achieve this back up i got Shell script from other team and this shell script backs up current data folder on daily basis and delete any data folder greater than last 30 days in back up data folder.
The problem with this shell script is if any new TM1 object is created or deleted during this process this shell script will fail.(usually it takes between 30 to 60 seconds to complete shell script)
our TM1 Application is Global application and we cannot restrict user's globally from accessing the server during this back up process because this process run's on other dependies so we dont have extact time frame for this
i tried achieving same thing with windows batch file i havent faced this issue but it has limitation on zipping the folder beyond 2 GB.(as i said above our company dont want to use it)
so in order to make this shell script to work in all situation with out fail and to make this process to be more dynamic i am planing to restrict users from performing modification in TM1 server during this 30 to 60 seconds till the shell script is completed
i have one procedure in my mind like running this entire process in Bulk load mode .
process 1 : START BULK MODE
process 2 : SAVE DATA ALL
EXECUTE SHELL SCRIPT FROM TI
process 3 : END BULK MODE
The reason i want to run this in bulk load mode is to make sure this process run's as a single threaded while communciating with TM1 Server.
Is it adviseable to run this back up process in bulk mode or we have any other work arounds
How it is going to effect performance, Is there any cons in this process.Please advise.
i am using TM1 10.1 on 2008 Windows R2
Thanks in advance for your valuable suggestions