• 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.

Script to update or define schedule

rpena

Active Newcomer
#1
Hi,

I'm trying to get working a script that can help us to define or update a schedule, we have TSM with vmware, so we define a script like this:

update schedule DOMAIN_NAME SCHEDULE_NAME options='-vmfulltype=vstor -vmbackuptype=fullvm -asnodename=DATA_MOVER -domain.vmfull="VM=VIRTUAL_MACHINE_LIST" -MODE=IFIncremental'

We have 4 variables:

DOMAIN_NAME
SCHEDULE_NAME
DATA_MOVER
VIRTUAL_MACHINE_LIST= VM1,VM2,....VMn

But when I get into the options part of the schedule it fails, I assume its because I'm not handeling correctly the simple quotes of the options '' and the double quotes in the VM part

How can a I get it to run correctly?
 

marclant

ADSM.ORG Moderator
#6
If it's working, what's your question? Looks like you have your command for the script that works. Is the issue with variable substitution?
 

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: 17 19.5%
  • Keep using TSM for Spectrum Protect.

    Votes: 53 60.9%
  • Let's be formal and just say Spectrum Protect

    Votes: 10 11.5%
  • Other (please comement)

    Votes: 7 8.0%

Forum statistics

Threads
31,467
Messages
134,114
Members
21,565
Latest member
Chrescht
Top