Is there a way to SCHEDULE backup of job designs and routines.
Currently, I go to DataStage Manager and select job to take the backup.
So instead of doing this manually everyday, is there a way to schedule a backup ?
Many thanks!
Scheduling job backup
Moderators: chulett, rschirm, roy
Go to Kim Duke's website and download the backup script you'll find in his Tips & Tricks section. It will export and date-stamp every Project on the server you attach to automagically - and you can schedule it. ![Wink :wink:](./images/smilies/icon_wink.gif)
![Wink :wink:](./images/smilies/icon_wink.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Premium Member
- Posts: 301
- Joined: Thu Jul 14, 2005 10:27 am
- Location: Melbourne, Australia
- Contact:
There's nothing destructive about the script, so go ahead and try it - You'll get a helpful usage message:
You can schedule this (Control Panel -> Scheduled Tasks) to run as often as you like, but make sure it's run at a time when it's unlikely that a user will be connected to the project as any locked jobs will not be exported.
For example, on my current project, I could easily schedule the backup to begin at 9am with no adverse consequences on the development team!![Wink ;-)](./images/smilies/icon_wink.gif)
J.
Code: Select all
DataStage Automated Backup Routine
Based on design by Manoli Krinos
Modified by M Ruland to allow iteration through a
complete server set of projects
Also Modified by T.J. Griesenbrock to utilize command
line options.
Usage: DataStageBackup SERVER USERNAME PASSWORD BASE_DIR PROJECT_LIST
SERVER - Hostname
USERNAME - Username to use on SERVER.
PASSWORD - Associated password for USERNAME on SERVER.
BASE_DIR - Scripts, Backup directory below this. MUST be a pre-existing directory.
PROJECT_LIST - MUST be a pre-existing directory.
For example, on my current project, I could easily schedule the backup to begin at 9am with no adverse consequences on the development team!
![Wink ;-)](./images/smilies/icon_wink.gif)
J.
<b>John McKeever</b>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
Data Migrators
<b><a href="https://www.mettleci.com">MettleCI</a> - DevOps for DataStage</b>
<a href="http://www.datamigrators.com/"><img src="https://www.datamigrators.com/assets/im ... l.png"></a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Premium Member
- Posts: 291
- Joined: Wed Sep 26, 2007 11:23 am
- Location: Madrid, Spain