DB2LOOK (Should be a regular habit)

Its always good that we take a copy of the db2look(often called as the the skeleton of the db) of the respective database regularly as a foresight of the disaster crash recovery .
So Why don't we make it a regular process , I mean write a script and schedule with the crontab utility which will make your job easy
Here is the script 

# What does this script do
1. Execute db2look
2. Tar the file
3. Copy to remote server
4. Remove old Files






Download db2look.sh

No comments:

Post a Comment