You could probably script something up that runs at 4am that does something like this:
Use SELECT to identify sessions for this node, and create CANCEL SESSION commands. The output can be redirected to a file. Then use the dsmadmc MACRO command to run the commands in the file to which the output was redirected. Simple example for Windows of a file named cancelsession.cmd ----- dsmadmc -id=storman -pa=xxxxx -dataonly=yes -commadelimited -outfile=cancelsession.macro "select ' cancel session ' || cast(session_id as varchar(20)) from sessions where session_type='Node' and client_name='STORMAN'" dsmadmc -id=storman -pa=xxxxx -outfile=cancelsession.out macro cancelsession.macro ----- The drawback is that the cancellations are indiscriminate; any client session for the named node will be cancelled, regardless of what operation it is doing. If it is unlikely that the node will be doing anything other than scheduled backup, then this should work. I'm sure others have more sophisticated methods, but this is my "what can I whip up in 5 minutes" answer. Regards, Andy Andy Raibeck IBM Software Group Tivoli Storage Manager Client Development Internal Notes e-mail: Andrew Raibeck/Tucson/[EMAIL PROTECTED] Internet e-mail: [EMAIL PROTECTED] IBM Tivoli Storage Manager support web page: http://www-306.ibm.com/software/sysmgmt/products/support/IBMTivoliStorageManager.html The only dumb question is the one that goes unasked. The command line is your friend. "Good enough" is the enemy of excellence. "ADSM: Dist Stor Manager" <[email protected]> wrote on 2006-06-01 13:21:29: > Hello, > > I have a customer who wants to run backup only during specific time > window; from 10pm to 4am. > > That means when backup starts at 10pm, and runs until 4am, and even if > at 4am there are more files to be backed up, he wants backup to stop and > to be rescheduled for next backup cycle. > > Any ideas appreciated. > > Joe Crnjanski > Infinity Network Solutions Inc. > Phone: 416-235-0931 x26 > Fax: 416-235-0265 > Web: www.infinitynetwork.com >
