A user who is a member of the "SAS Administrators" group and has been granted the role "Management Console: Advanced" can create a Metadata Backup job via SAS 9.2 Management Console.
Right Click on 'Backup and Restore' Task under 'Metadata Utilities'.
Then select the Backup task created and choose either 'Run Job' or 'Deploy for Scheduling'.
Note that if you select the 'Deploy for Scheduling' task, you are only creating the .sas file that needs to be scheduled to run in batch on your server.
In Windows, just create a scheduled task around this .sas file. (But don't forget, this pauses/restarts the SAS Metadata Service. So you will need to restart the SAS Remote and JBoss Services to reconnect.)
An partial example of completing the scheduled task command line:
"c:\program files\sas\...\sas.exe" -sysin "c:\sas\ebiserver\lev1\...\jobs\Backup_B.sas"
Friday, October 09, 2009
Subscribe to:
Post Comments (Atom)




0 comments:
Post a Comment