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

Help with setting up archive mgmt class for a single node

#1
Hey Guys,

I am having some trouble in getting an archive mgmt. class defined for a directory for a single node. It’s been a while since I have done it but can’t seem to get the syntax right. We have an AIX system and we intend to archive this directory /sapbackup/LC1 and everything under it including the subdirectories and retain it for 90 days. Our archive copy group under the default mgmt class has 30 day retention so I have created another mgmt. class (AIX_MC_CUSTOM) with 90 day retention and specified the following in the inclexcl list.

[email protected]:/usr/tivoli/tsm/client/ba/bin64> cat /usr/tivoli/tsm/client/ba/bin64/inclexcl.txt
exclude.dir /sapdb/LC1/sapdata*
include.archive "/sapbackup/LC1/ -subdir=yes" AIX_MC_CUSTOM

However when I run the archive, I see they do not get bound to the new mgmt. class. Not sure if the syntax is incorrect. During my research I have not been able to find much that specifically defines include.archive option to include subdirectories. Do you see anything missing here? Thanks for taking the time!

Here’s some more info from the client..

tsm> q mgmt -detail
Domain Name : AIX
Activated Policy Set Name : AIX
Activation date/time : 07/12/18 15:07:04
Default Mgmt Class Name : AIX_MC
Grace Period Backup Retn. : 30 day(s)
Grace Period Archive Retn.: 30 day(s)


MgmtClass Name : AIX_MC
Description : AIX Management Class
Space Management Technique : None
Auto Migrate on Non-Usage : 0
Backup Required Before Migration: NO
Destination for Migrated Files : DEDUPPOOL
Copy Group
Copy Group Name........: STANDARD
Copy Type..............: Backup
Copy Frequency.........: 0 day(s)
Versions Data Exists...: No Limit
Versions Data Deleted..: No Limit
Retain Extra Versions..: 30 day(s)
Retain Only Version....: 30 day(s)
Copy Serialization.....: Shared Static
Copy Mode..............: Modified
Copy Destination.......: DEDUPPOOL
Lan Free Destination...: NO
Deduplicate Data.......: YES

Copy Group Name........: STANDARD
Copy Type..............: Archive
Copy Frequency.........: Cmd
Retain Version.........: 30 day(s)
Copy Serialization.....: Shared Static
Copy Mode..............: Absolute
Retain Initiation......: Create
Retain Minimum.........: 65534 day(s)
Copy Destination.......: DEDUPPOOL
Lan Free Destination...: NO
Deduplicate Data.......: YES



MgmtClass Name : AIX_MC_CUSTOM
Description : AIX Management Class
Space Management Technique : None
Auto Migrate on Non-Usage : 0
Backup Required Before Migration: NO
Destination for Migrated Files : DEDUPPOOL
Copy Group
Copy Group Name........: STANDARD
Copy Type..............: Backup
Copy Frequency.........: 0 day(s)
Versions Data Exists...: No Limit
Versions Data Deleted..: No Limit
Retain Extra Versions..: 30 day(s)
Retain Only Version....: 30 day(s)
Copy Serialization.....: Shared Static
Copy Mode..............: Modified
Copy Destination.......: DEDUPPOOL
Lan Free Destination...: NO
Deduplicate Data.......: YES

Copy Group Name........: STANDARD
Copy Type..............: Archive
Copy Frequency.........: Cmd
Retain Version.........: 90 day(s)
Copy Serialization.....: Shared Static
Copy Mode..............: Absolute
Retain Initiation......: Create
Retain Minimum.........: 65534 day(s)
Copy Destination.......: DEDUPPOOL
Lan Free Destination...: NO
Deduplicate Data.......: YES

tsm> q inclexcl -detail
*** FILE INCLUDE/EXCLUDE ***
Mode Function Pattern (match from top down) Source File
---- --------- ------------------------------ -----------------
No exclude filespace statements defined.
Excl Directory /db2/.../saptemp* Server
Excl Directory /db2/.../log_retrieve Server
Excl Directory /db2/.../log_archive Server
Excl Directory /db2/.../db2dump Server
Excl Directory /db2/.../log_dir Server
Excl Directory /db2/.../sapdata* Server
Excl Directory /tsm-edge/diskpool* Server
Excl Directory /.../.TsmCacheDir TSM
Excl Directory /sapdb/LC1/sapdata* "/usr/tivoli/tsm/client/ba/bin64/inclexcl.txt"
Exclude All /.../dsmerror.log Server
Exclude All /.../dsmsched.log Server
Include Archive /sapbackup/LC1/ -subdir=yes "/usr/tivoli/tsm/client/ba/bin64/inclexcl.txt"
MC NAME: AIX_MC_CUSTOM
No DFS include/exclude statements defined.
tsm>
 

ILCattivo

ADSM.ORG Senior Member
#4
Must admit, I've never used the '-subdir=yes' parm before when using this kind of syntax..

Try..

include.archive "/sapbackup/LC1/.../*" AIX_MC_CUSTOM

Also, on the TSM/ISP Server, make sure that the policy has been activated for the new management class (non-default) otherwise the archive criteria won't be able to bind to it.
 
#6
Thanks Cattivo. We dont have a need for that anymore but I'll test it out.

Must admit, I've never used the '-subdir=yes' parm before when using this kind of syntax..

Try..

include.archive "/sapbackup/LC1/.../*" AIX_MC_CUSTOM

Also, on the TSM/ISP Server, make sure that the policy has been activated for the new management class (non-default) otherwise the archive criteria won't be able to bind to it.[/QUOT
 

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

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

    Votes: 10 11.8%
  • Other (please comement)

    Votes: 7 8.2%

Forum statistics

Threads
31,447
Messages
133,958
Members
21,547
Latest member
Ramsol
Top