Fine,
I would suggest either to add 2>>&1 to the last line:
dsmc incremental >>dsmsched.log 2>>&1
or to redirect errors to separat log
dsmc incremental >>dsmsched.log 2>>dsmerror.log
This because in the example below error messages are possibly displayd only
in the command window an dissapear once the window is closed or full.
regards
Juraj Salak
-----Ursprüngliche Nachricht-----
Von: Prather, Wanda [mailto:Wanda.Prather AT JHUAPL DOT EDU]
Gesendet: Donnerstag, 05. Februar 2004 17:36
An: ADSM-L AT VM.MARIST DOT EDU
Betreff: Re: predefined backup
Sure.
Use the command line version of the TSM client, dsmc.
Put it in a .bat file with a shortcut on the Windows desktop.
We call ours "one-button backup", and it's a .bat file with these contents:
----------------------------------------------------------------------------
------------------------------
c:
cd c:\progra~1\tivoli\tsm\baclient
echo "+++++++++++++++++++++++++++++++++++++++++++++" >>dsmsched.log
echo "+++++++++++++++++++++++++++++++++++++++++++++" >>dsmsched.log
echo "+++++++++++++++++++++++++++++++++++++++++++++" >>dsmsched.log
echo "starting one-button-backup %DATE% %TIME% " >>dsmsched.log
echo "++ ++" >>dsmsched.log
dsmc incremental >>dsmsched.log
----------------------------------------------------------------------------
--------------------------------
"dsmc incremental" does a complete incremental backup, same as if you used
the scheduler.
You can, of course, change it to dsmc "yourdesiredfilespec" to backup just
selected files/directories.
The dsmc command and it's parameters are documented in the TSM Windows
Client Installation and Use manual.
Wanda Prather
Johns Hopkins University Applied Physics Laboratory
443-778-8769
"Intelligence has much less practical application than you'd think" -
Dilbert/Scott Adams
-----Original Message-----
From: Morten Kongsted [mailto:kongsted AT MULTI-SUPPORT DOT COM]
Sent: Thursday, February 05, 2004 4:34 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: predefined backup
Hi
Is it possible to predefine a backup job, which the user have to start by
himself. First, I don't want to use server schedules because they have be
started at a certain time and some users are not satisfied with that.
Second I don't want the user to select which files to backup every time.
Basically i want a backup rountine which the user can start any time he/she
wants. Is this possible ?
I'm running tsm 5.2 on as/400 pase with 5.2 windows clients.
Regards
Morten Kongsted
|