Josh, here ya go, buddy. Just tried it and it worked fine. Names, paths,
and passwords have been changed to protect the innocent. Good luck. Oh, I
used a client schedule instead of a clientaction because I didn't want to
wait hours for it to start in my testing.
Alex Paschal
Storage Administrator
Freightliner, LLC
(503) 745-6850 phone/vmail
TSM Server:
tsm: TSMSERVER>def sched DOMAIN TESTSCHED type=client action=command \
cont> objects='d:\progra~1\tivoli\tsm\baclient\dsmc.exe res
"\\fromnode\c$\path with space\testfile.txt" d:\temp\
-virtualnodename=fromnode -password=password -ina >d:\temp\sched.out 2>&1' \
cont> startdate=today starttime=now+00:01 duration=10 durunit=minute
cont> startdate=today starttime=now+00:01 duration=10 durunit=minute
ANR2500I Schedule TESTSCHED defined in policy domain DOMAIN.
tsm: TSMSERVER>def assoc DOMAIN TESTSCHED TONODE
ANR2510I Node TONODE associated with schedule TESTSCHED in policy domain
DOMAIN.
Tonode:
d:\program files\tivoli\tsm\baclient>net stop "TSM Central Scheduler
Service"
The ADSM Central Scheduler Service service is stopping.
The ADSM Central Scheduler Service service was stopped successfully.
d:\program files\tivoli\tsm\baclient>net start "TSM Central Scheduler
Service"
The ADSM Central Scheduler Service service is starting.
The ADSM Central Scheduler Service service was started successfully.
[checked dsmsched.log until schedule had run, about 1 minute]
d:\temp\sched.out:
Tivoli Storage Manager
Command Line Backup Client Interface - Version 4, Release 1, Level 1.16
(C) Copyright IBM Corporation, 1990, 2000, All Rights Reserved.
Restore function invoked.
Node Name: FROMNODE
Session established with server TSMSERVER: AIX-RS/6000
Server Version 4, Release 1, Level 3.2
Server date/time: 10/25/2001 14:03:20 Last access: 10/25/2001 12:03:22
** Interrupted **
ANS1114I Waiting for mount of offline media.
Restoring 120,936 \\fromnode\c$\path with space\testfile.txt -->
\\tonode\d$\temp\testfile.txt [Done]
Restore processing finished.
Total number of objects restored: 1
Total number of objects failed: 0
Total number of bytes transferred: 118.31 KB
Data transfer time: 0.15 sec
Network data transfer rate: 788.78 KB/sec
Aggregate data transfer rate: 1.49 KB/sec
Elapsed processing time: 00:01:18
|