• Please help support our sponsors by considering their products and services.
    Our sponsors enable us to serve you with this high-speed Internet connection and fast webservers you are currently using at ADSM.ORG.
    They support this free flow of information and knowledge exchange service at no cost to you.

    Please welcome our latest sponsor Tectrade . We can show our appreciation by learning more about Tectrade Solutions
  • Community Tip: Please Give Thanks to Those Sharing Their Knowledge.

    If you receive helpful answer on this forum, please show thanks to the poster by clicking "LIKE" link for the answer that you found helpful.

  • Community Tip: Forum Rules (PLEASE CLICK HERE TO READ BEFORE POSTING)

    Click the link above to access ADSM.ORG Acceptable Use Policy and forum rules which should be observed when using this website. Violators may be banned from this website. This notice will disappear after you have made at least 3 posts.

Setting up an hourly schedule during business hours

pbanghart

ADSM.ORG Member
#1
G'day...



My SQL gurus are asking me to schedule their TDP backups from the central scheduler...I can do the once-a-day full backup schedules no problem, but they also want to do hourly transaction log backups from 5am to 7pm, Mon-Fri only.



I thought I could set up a script to run daily that would define a schedule with a start time of 5:00am, but the schedule expiration is by date, not by time, so I can get the schedule to stop at 7:00pm as desired.



Has anyone out there already done something like this?

:confused:





-PB
 

AndyRH

ADSM.ORG Senior Member
#2
Create a schedule with a duration of 30 minutes and a period of 1 hour. Set Day of Week to weekdays. Your script will need to know when to run, because there is not a stop time. That should work, it was in the class I took, but I have not done it, we use another scheduler for SQL.



define schedule DOMAIN_NAME 1_hour_sql action=command objects=BACKUPSCRIPT starttime=05:00 duration=30 durunits=minutes period=1 perunits=hours dayofweek=weekday

This will start running at 5am Monday and stop running 23:00 Friday.





That may be the command, use at your own risk!





Andy
 

Advertise at ADSM.ORG

If you are reading this, so are your potential customer. Advertise at ADSM.ORG right now.

UpCloud high performance VPS at $5/month

Get started with $25 in credits on Cloud Servers. You must use link below to receive the credit. Use the promo to get upto 5 month of FREE Linux VPS.

The Spectrum Protect TLA (Three-Letter Acronym): ISP or something else?

  • Every product needs a TLA, Let's call it ISP (IBM Spectrum Protect).

    Votes: 15 18.1%
  • Keep using TSM for Spectrum Protect.

    Votes: 52 62.7%
  • Let's be formal and just say Spectrum Protect

    Votes: 9 10.8%
  • Other (please comement)

    Votes: 7 8.4%

Forum statistics

Threads
31,401
Messages
133,755
Members
21,509
Latest member
seun
Top