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

SQL Statement to show Exclusions

LuXor

Active Newcomer
#1
We are migrating a number of clients from TSM to Spectrum. As part of this, we are running a script to show the filespaces, retention policies and scheduling of backups on TSM, and then on Spectrum, to ensure everything gets mapped over. What we are missing from our script at the moment as the server side file/directory exclusions, which is important. Where are these stored on TSM/Spectrum, and what SQL statement could we use to pull them out?
 

marclant

ADSM.ORG Moderator
#2
What we are missing from our script at the moment as the server side file/directory exclusions, which is important. Where are these stored on TSM/Spectrum, and what SQL statement could we use to pull them out?
Those are stored in a combination of places:
- client option set on the server
- client option file (dsm.opt/dsm.sys) on the client
- Windows registry key FilesNotToBackup
- VSS writers for SystemState and other Microsoft app using VSS like SQL and Exchange

The only place you can query it and get a comprehensive list is on the client using:
dsmc query inclexcl

Every client have their own list, so you have to query each client.

However, the only one that is controlled by the server are the client option sets, which you can query using:
QUERY CLOPTSET
And this query to see which nodes have which client option set:
SELECT DOMAIN_NAME,NODE_NAME,OPTION_SET FROM NODES WHERE OPTION_SET is not null

Set those up on the new server. You don't really need to worry about the include/excludes on the clients, you will just be changing the server they are pointing to and they will keep their current include/exlude from the option file.
 

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,469
Messages
134,129
Members
21,569
Latest member
srinathkodela
Top