Scheduling a Weekly LCM Backup
LCM Utility enables users to perform scheduled migrations using
a third-party scheduling
service such as Windows Task Scheduler or Oracle
Enterprise Manager. As we know that its
quite easy to schedule a batch file,
here we will be scheduling a weekly file system backup for
one of our
application App3. LCM backup is not considered as proper backup of the
in our last post that we need to create a migration definition file
before we can execute a
migration using Utility.bat, how to create migration
file and other basic information on LCM
the user and password values
are provided in the migration definition file; otherwise, the utility
prompts
you for those values and will not execute. By default a migration file doesn't
have the
user name and password information but the moment we run the utility
first time credential
information is stored in the xml file. Here is our
Migration Definition file with user credentials,
user name is stored directly
but the password is encrypted by the utility itself.
Lets create a batch file, I have created a batch file where I am
redirecting the logs to file, I have
used the system time to name the log file,
lets save this file as weeklybkup.bat,
Lets save this file at below location,
Now open the window's scheduler to schedule this batch file.
We need to make sure that Foundation Services is up and Running
while this scheduled
operation is performed, once the operation is done you
will get backup folder and logs at
user_projects\epmsystem1\bin location.
If you want to Rename the file system backup folder as
well then you can
schedule one more batch to Rename it.
Cheers..!!!
Rahul
Comments
Post a Comment