Backup Folder and Files with special management class

Andimotz80

ADSM.ORG Member
Joined
Oct 20, 2008
Messages
34
Reaction score
0
Points
0
PREDATAR Control23

Hello all,

I want to backup on my linux system a folder, subfolder and all files with a special management class via command line.

I have tried with the option "incl /oracle MC_SECTRAS_DAILY", but when I start a backup of /backup, I see afterwards with the following mgmt class:
query backup /oracle/backup/dumps/test
Size Backup Date Mgmt Class A/I File
---- ----------- ---------- --- ----
0 B 03/21/2017 06:51:18 DEFAULT A /oracle/backup/dumps/test

What can I do?

Regards

Andreas
 
PREDATAR Control23

"incl /oracle MC_SECTRAS_DAILY"
This will bind /oracle to MC_SECTRAS_DAILY, but not the content of /oracle.

You need:
Code:
incl /oracle/.../* MC_SECTRAS_DAILY
You can use "dsmc help include" for more information and examples.
 
PREDATAR Control23

This does not work:
ANS1036S The option 'INCL' or the value supplied for it is not valid. It was found in options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys'
at line number: 34
The complete entry: ' incl /oracle/.../* MC_SECTRAS_DAILY'

Regards
 
PREDATAR Control23

This does not work:
ANS1036S The option 'INCL' or the value supplied for it is not valid. It was found in options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys'
at line number: 34
The complete entry: ' incl /oracle/.../* MC_SECTRAS_DAILY'

Regards

Did you create the management class called MC_SECTRAS_DAILY correctly?
 
PREDATAR Control23

This does not work:
ANS1036S The option 'INCL' or the value supplied for it is not valid. It was found in options file '/opt/tivoli/tsm/client/ba/bin/dsm.sys'
at line number: 34
The complete entry: ' incl /oracle/.../* MC_SECTRAS_DAILY'

Regards
"dsmc help include" doesn't show any abbreviation equivalent for include. Try spelling it out instead of using an abbreviation
 
PREDATAR Control23

yes,

>query mgmtclass vienna8.at active MC_SECTRAS_DAILY f=d
Policy Domain Name: VIENNA8.AT
Policy Set Name: ACTIVE
Mgmt Class Name: MC_SECTRAS_DAILY
Default Mgmt Class ?: No
Description:
Space Management Technique: None
Auto-Migrate on Non-Use: 0
Migration Requires Backup?: Yes
Migration Destination: SPACEMGPOOL
 
Top