We use our enterprise scheduler to issue 'define clientaction NODE
action=incremental' It is kind of the best of both worlds. We can
control the start time with the scheduler and still get the superior
logging from the node vs. running dsmc and capturing the output. The
added advantage of being able to tie backup jobs to other jobs has
really helped.
The duration is how long the job is able to start and also is factored
into the start randomization setting.
You can count on DSMCAD starting the job when told to by the server. If
you want the job to start at the actual start time lower the 'Schedule
Randomization Percentage' to 0. Beware that it is a global setting that
may cause other problems, such as a busy schedule to start too may jobs
at one time.
Andy Huebner
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Lucia Burke
Sent: Thursday, November 01, 2007 8:29 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Running dsmc incremental backup from client
schedule versus from crontab
Bill -
My dsm.sys file looks like this:
SErvername TSM
COMMmethod TCPip
TCPPort 1500
TCPServeraddress tsm.sharp.com
TCPCLIENTAddress xxx.xx.xx.xx
Passwordaccess Generate
schedmode prompted
managedservices schedule webclient
Schedlogname /usr/tivoli/tsm/client/ba/bin/dsmsched.log
Schedlogretention 7
Errorlogname /usr/tivoli/tsm/client/ba/bin/dsmerror.log
Errorlogretention 7
Txnbytelimit 25600
TCPwindowsize 1024
TCPbuffsize 32
inclexcl /usr/tivoli/tsm/client/ba/bin/inclexcl.opt
My client schedule looks like this:
Action: Incremental
Options:
-preschedulecmd=/scripts/backup_shutdown.ksh
-postschedulecmd=/scripts/backup_startup.ksh
Objects:
Priority: 1
Start Date/Time: 11/02/07 00:30:00
Duration: 30 Minute(s)
Schedule Style: Classic
Period: 1 Day(s)
Day of Week: Any
Month:
Day of Month:
Week of Month:
Expiration:
Last Update by (administrator): ADMIN
Last Update Date/Time: 11/01/07 15:29:05
Managing profile:
I would like the backup to start daily at 00:30. Does the duration and
durunits apply to only the polling schedmode and "dsmc schedule"
process? Can I depend on the dsmcad scheduler always starting the
incremental backup at 00:30?
Thanks,
Lucia
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
William Boyer
Sent: Thursday, November 01, 2007 6:14 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: [ADSM-L] Running dsmc incremental backup from client
schedule versus from crontab
Also sounds like you are using POLLING. At least for that client. Then
you get a start time randomized based on the DURATION of the schedule
and the SET RANDOMIZE value. If you seitch to PROMPTED for that client,
you should see it pretty close to the starttime of the schedule.
You can do it via crontab, but as it won't be scheduled you won't get
the pre/postschedule processing. Plus you'll need to maage your own
condition checking and notification for failed backups.
Bill Boyer
"I haven't lost my mind...it's backed up on tape somewhere!" - ??
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf Of
Larry Clark
Sent: Thursday, November 01, 2007 9:01 PM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: Re: Running dsmc incremental backup from client schedule versus
from crontab
yep, you can use the crontab.
----- Original Message -----
From: "Lucia Burke" <Lucia.Burke AT SHARP DOT COM>
To: <ADSM-L AT VM.MARIST DOT EDU>
Sent: Thursday, November 01, 2007 8:16 PM
Subject: [ADSM-L] Running dsmc incremental backup from client schedule
versus from crontab
Hello -
I currently run a backup from a client schedule in which the action is
incremental and options include preschedulecmd and postschedulecmd.
The preschedulecmd procedure performs application shutdown procedures
and the postschedulecmd performs application startup procedures.
The user community would like to have the backup start at the same time
every day preferably at 00:30.
Currently, the client schedule is priority 2 with a four hour window
beginning at 22:45. I could create a schedule with a priority 1, a start
time of 00:30, and a smaller duration window. I could limit client
schedule association to this one client node. But I am not sure that
there is a way within a client schedule to guarantee a specific start
time. Should I do this as a crontab entry?
As a crontab entry, might I assume that the command "dsmc incremental"
captures the same files and directories as a client schedule with the
action "incremental"?
Thanks,
Lucia
Lucia Burke
Senior Systems Analyst/ Programmer
Sharp HealthCare
3571 Corporate Court
San Diego, CA 92123
(858)627-5081
lucia.burke AT sharp DOT com
This e-mail (including any attachments) is confidential and may be legally
privileged. If you are not an intended recipient or an authorized
representative of an intended recipient, you are prohibited from using, copying
or distributing the information in this e-mail or its attachments. If you have
received this e-mail in error, please notify the sender immediately by return
e-mail and delete all copies of this message and any attachments.
Thank you.
|