Backup to new Mgmtclass

dabe

Newcomer
Joined
May 17, 2013
Messages
3
Reaction score
0
Points
0
Hi,

we defined a new Policy domain and Management Class on our TSM-Server (linux) and then we assigned it to a host. But when i run a backup via command line on this host, the backupfiles stored by the default mgmt class. Did we miss somthing in the configuration and how we can backup to this new mgmtclass from commandline?

Many thanks in advance!


Dave
 
adjust config file
Code:
include * <new_mgmt>

or define the <new_mgmt> as default
 
Sure, you have to bind a specific filesystem to a management class by including it in the inclexcl file, in order to use it.

Ex:

INCLUDE "/home/.../*" MC_1MONTH

If you do not specify a management class all the backupped filesystems will be bound to the default management class.

If you specify a default management class for the domain, but do not include it in the inclexcl file, the backupped filesystem will be saved with the retention and version of the default management class, but in a query output they will still be bound with the 'DEFAULT' label (making harder to discover their retention).
 
Hi,

thanks for your reply! But how can i use the incl/excl file on the command line with the dsmc command? Our Developer run often backups from the command line or with batchscripts, for example:

dsmc incremental /workspace/ -optfile=dsm.opt -subdir=yes -compression=no

We know there is a option for the archive command (-archmc) like

dsmc archive /workspace/* -subdir=yes -archmc=archive_10Y

but we don't know how we can backup with the dsmc backup command to a different Mgmtclass e.g. developer filespaces.

br Dave
 
As Domino and maxdb82 state in there reply, you need the includes.
Perhaps create another dsm.opt called dsm.developer.opt and put the include / mgmt in there.
Then call it with dsmc -optfile= ./dsm.developer.opt when running backup
With Archive simply specify your mgmt with archmc=
 
OK, i created a new .opt file with the INCLUDE "/backup/.../*" MGMT_CLASS option, but i get the following output in my logfile:

ANS1036S Invalid option 'INCLUDE' found in options file '/opt/tivoli/tsm/client/ba/bin/dsm_test.opt'
at line number : 23



It seems that the INCLUDE option is not supported in the .opt file.

Is there another solution to backup from commandline to a different Mgmtclass?

br Dave
 
Hello All!

I have aix client and want to backup "/backup/*" with Monthly_MGT_CLASS but not able to do that it always select default management class.

SErvername TSMMAIN
COMMMethod TCPip
TCPPort 1500
TCPServeraddress xx.xx.xx.xx #node.domain.company.COM
PASSWORDAccess generate
passworddir /usr/tivoli/tsm/client/ba/bin64/mainpwd
NODENAME TSMMAIN_MONTHLY
include /backup/* MONTHLY_MGT_CLASS

Please help.

Thanks in advance.
 
try

include "/backup/.../*" MONTHLY_MGT_CLASS

Hi domino,

Thanks for your reply and set as mentioned but no success.

SErvername TSMMAIN
COMMMethod TCPip
TCPPort 1500
TCPServeraddress xx.xx.xx.xx #node.domain.company.COM
PASSWORDAccess generate
passworddir /usr/tivoli/tsm/client/ba/bin64/mainpwd
NODENAME TSMMAIN_MONTHLY
include "/backup/.../*" MONTHLY_MGT_CLASS

 
Hi,

I set as follows and able to backup as i wish, don't know what is the reason behind this as i already have clients as previous configuration....???

SErvername TSMMAIN
COMMMethod TCPip
TCPPort 1500
TCPServeraddress xx.xx.xx.xx #node.domain.company.COM
PASSWORDAccess generate
passworddir /usr/tivoli/tsm/client/ba/bin64/mainpwd
NODENAME TSMMAIN_MONTHLY
include "/.../*" MONTHLY_MGT_CLASS
 
Hi,

thanks for your reply! But how can i use the incl/excl file on the command line with the dsmc command? Our Developer run often backups from the command line or with batchscripts, for example:

dsmc incremental /workspace/ -optfile=dsm.opt -subdir=yes -compression=no

We know there is a option for the archive command (-archmc) like

dsmc archive /workspace/* -subdir=yes -archmc=archive_10Y

but we don't know how we can backup with the dsmc backup command to a different Mgmtclass e.g. developer filespaces.

br Dave


This request concerns me a little and let me explain why. I interpret this request as sometimes I want to back up the file using management class A and sometimes I want to back up the file using management class B. What will happen is each time you change the management class the file, including all previous versions of the file if the file is active, will have the management class changed. The question seems to imply that you want to have some versions of a backup file bound to one management class and other versions of the file bound to a different management class but TSM does not work this way.
 
Hi domino,

Thanks for your reply and set as mentioned but no success.

Did you restart your client scheduler? Changes to the .opt file require the scheduler to be restarted so it picks up the changes.
 
Did you restart your client scheduler? Changes to the .opt file require the scheduler to be restarted so it picks up the changes.

It is not scheduled, but i restart the dsmcad service so that changes in dsm.sys n dsm.opt files pickup the changes.
 
Back
Top