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

Automating TSM-Export by Script

dcz01

ADSM.ORG Member
#1
Hello,

i'm searching for an method to automate my exports in tsm.
does anyone know an option to implement an current_date variable in my tsm script?

define script Export_Node desc='Automatischer Export der wichtigen Nodes auf USB-Festplatte'
update script Export_Node 'export node <Servername> filedata=allactive devclass=export_usb volume=$1-<Servername>'
update script Export_Node 'export node <Servername>_DOMINO filedata=allactive devclass=export_usb volume=$1-<Servername>_DOMINO'

run export_node 2017-08-02


i would like to have the substitue varibale automatically set by the system so that i can use an administrative schedule to do the export on sundays.
 

moon-buddy

ADSM.ORG Moderator
#2
Hello,

i'm searching for an method to automate my exports in tsm.
does anyone know an option to implement an current_date variable in my tsm script?

define script Export_Node desc='Automatischer Export der wichtigen Nodes auf USB-Festplatte'
update script Export_Node 'export node <Servername> filedata=allactive devclass=export_usb volume=$1-<Servername>'
update script Export_Node 'export node <Servername>_DOMINO filedata=allactive devclass=export_usb volume=$1-<Servername>_DOMINO'

run export_node 2017-08-02


i would like to have the substitue varibale automatically set by the system so that i can use an administrative schedule to do the export on sundays.
I would script this outside of the TSM Server; on the host server or any workstation that can connect to the TSM Server.
 

dcz01

ADSM.ORG Member
#3
Well that would be an good idea and i think it will work great.
But then i must have an extra admin id on the server with system rights and i must enter that admin id with password in cleartext in the script on the host server or an workstation...
No other option to do that?
 

moon-buddy

ADSM.ORG Moderator
#4
Well that would be an good idea and i think it will work great.
But then i must have an extra admin id on the server with system rights and i must enter that admin id with password in cleartext in the script on the host server or an workstation...
No other option to do that?
If you execute the script on the local HOST server, then all things are contained within. You will not be traversing any network. You can hide the password by compiling the script be it DOS or UNIX. There are lots of free batch or script compilers on the Internet.

You only need Operator rights to pull data out for reporting purposes.
 

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

    Votes: 19 47.5%
  • Let's be formal and just say Spectrum Protect

    Votes: 8 20.0%
  • Other (please comement)

    Votes: 4 10.0%

Forum statistics

Threads
31,001
Messages
131,978
Members
21,255
Latest member
pzzl321
Top