Re: archiving with different management classes
2002-09-26 09:19:18
Kurt,
I have the exact same requirements. I solved the problem by
putting the management class in the schedule options. You can not override
the DSM.OPT file used through the scheduler. It will use the one that was
in effect when the client scheduler started. The schedule I run is listed
below. The -archmc=7yeararch declares the management class to use.
Matt
Policy Domain Name NTPOLICY1
Schedule Name YEARLY-ARCH-NT1-USCLES324
Description yearly archival of uscles324
Action ARCHIVE
Options -archmc=7yeararch -subdir=yes
Objects f:\*.* E:\CA_APPSW
Priority 5
Start date 2002-02-22
Start time 23:00:00
Duration 1
Duration units HOURS
Period 12
Period units MONTHS
Day of Week THURSDAY
Expiration -
Last Update Date/Time 2002-02-28 07:54:15.000000
Last Update by (administrator) ADMIN
Managing profile -
-----Original Message-----
From: kurt.beyers AT pandora DOT be [mailto:kurt.beyers AT PANDORA DOT BE]
Sent: Thursday, September 26, 2002 8:29 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: archiving with different management classes
Hi,
I've got to take every month a monthly archive and once a year a yearly
archive. Of course the protection of the latter archive is longer.
The default management class has the correct archive copy group for the
monthly archive (management class MGMT_SWS). I've created a second
management class (MGMT2_SWS) for the yearly archive.
The default dsm.opt client options file binds the archive to the correct
management class for the monthly archive. I've created a second client
options file dsm2.opt with an include.archive statement towards the
management class MGMT2_SWS
If I launch the archive from the command prompt as:
dsmc archive -optfile=c:\temp\dsm2.opt -subdir=yes c:\*.* d:\*.*
the archive of the files is indeed done with the management class MGMT2_SWS
If I specify a schedule:
Policy Domain Name POL_SWS
Schedule Name TEST4
Description -
Action ARCHIVE
Options -optfile=c:\temp\dsm2.opt -subdir=yes
Objects c:\hp\* d:\windows\winzip81\*
the archives are bind towards the management class MGMT_SWS and not towards
the management class MGMT2_SWS. The scheduler is bound to the dsm.opt file
but if I specify another client options file in the options, this should
override the default settings.
Am I missing something?
Kurt
|
|
|