Hello Guys,
I have prepare a policy as per client request but confused on how to achieve this. I am attached the policy details.
I have created domain gendom and policy genps and management class backup0007 and which has 7 days retention and associated with stgpool called DYGENLTOPP01 which is working fine and backup is happening at the same time SQL DB backup from tdp i have domain sqldom, policy sqlps and management class backup0007 that also has a 7 days retention and associated with stgpool called DYGENLTOPP01 which is working fine means backup is working, now I have 2 other management class for file level backup for all server and TDP backup for sql which is called BACKUP0031, BACKUP0366 and subsequently associated with respective stgpool WKGENLTOPP01, MNGENLTOPP01 that has one month and a year retention.
Now I have things my mind how to use other management class so that respective copy group can be used.
1. one thing i can do it is bind the other management class in below way in the opt file.
NODENAME dcprbkpsrv01_wk
TCPSERVERADDRESS dcprbkpsrv01
include.backup c:\...\* backup0031
systemstatebackupmethod full
exclude.dir "*:\...\Program Files"
exclude.dir "*:\...\Program Files (x86)"
exclude.dir "*:\...\Program data"
EXCLUDE.BACKUP "*:\microsoft uam volume\...\*"
EXCLUDE.BACKUP "*:\microsoft uam volume\...\*.*"
EXCLUDE.BACKUP "*:\...\EA DATA. SF"
EXCLUDE.BACKUP "*:\IBMBIO.COM"
EXCLUDE.BACKUP "*:\IBMDOS.COM"
EXCLUDE.BACKUP "*:\IO.SYS"
EXCLUDE.BACKUP "*:\...\system32\config\...\*"
EXCLUDE.BACKUP "*:\...\system32\Perflib*.dat"
EXCLUDE.BACKUP "*:\...\system32\dhcp\...\*"
INCLUDE.BACKUP "*:\...\system32\dhcp\backup\...\*"
EXCLUDE.BACKUP "*:\...\system32\dns\...\*"
INCLUDE.BACKUP "*:\...\system32\dns\backup\...\*"
EXCLUDE.ARCHIVE "*:\microsoft uam volume\...\*"
EXCLUDE.ARCHIVE "*:\microsoft uam volume\...\*.*"
EXCLUDE.ARCHIVE "*:\...\EA DATA. SF"
EXCLUDE.ARCHIVE "*:\IBMBIO.COM"
EXCLUDE.ARCHIVE "*:\IBMDOS.COM"
EXCLUDE.ARCHIVE "*:\IO.SYS"
EXCLUDE.ARCHIVE "*:\...\system32\config\...\*"
EXCLUDE.ARCHIVE "*:\...\system32\Perflib*.dat"
EXCLUDE.ARCHIVE "*:\...\system32\dhcp\...\*"
INCLUDE.ARCHIVE "*:\...\system32\dhcp\backup\...\*"
EXCLUDE.ARCHIVE "*:\...\system32\dns\...\*"
INCLUDE.ARCHIVE "*:\...\system32\dns\backup\...\*"
EXCLUDE.DIR "*:\System Volume Information"
EXCLUDE.DIR "*:\...\Temporary Internet Files"
EXCLUDE.DIR "*:\Recycled"
EXCLUDE.DIR "*:\Recycler"
EXCLUDE.DIR "*:\$Recycle.Bin"
PASSWORDACCESS generate
EXCLUDE.DIR "C:\Program Files"
EXCLUDE.DIR "C:\Program Files (x86)"
EXCLUDE.DIR "C:\ProgramData"
DOMAIN "SYSTEMSTATE"
SNAPSHOTPROVIDERFS VSS
SNAPSHOTPROVIDERIMAGE VSS
2. Command which will run at the time of schedule.
@ECHO OFF
rem ==================================================================
rem ==================================================================
set backup_dir="C:\Program Files\Tivoli\TSM\baclient"
cd /d %backup_dir%
rem ==================================================================
rem The 2 lines below put a date and time stamp in a log file for
rem you.
rem
rem Note: You can change "backup.log" to whatever you prefer.
rem ==================================================================
echo Current date is: >> weekly.log
date /t < NUL >> weekly.log
echo Current time is: >> weekly.log
time /t < NUL >> weekly.log
rem ==================================================================
rem Now call the command line to do the full backup:
rem
rem Note: You can change "backup.log" to whatever you prefer.
rem ==================================================================
dsmc backup systemstate -optfile="C:\Program Files\Tivoli\TSM\baclient\dsm-weekly.opt" >> weekly.log
dsmc incr -absolute C:\* -su=yes -optfile="C:\Program Files\Tivoli\TSM\baclient\dsm-weekly.opt" >> weekly.log
exit %RC%
3. to create a new scheduler service for diffrent node.
I want to know your view is there any other way to achieve this, and second since I have domain is same which is associated with management class that has 7 days retention, if i do in that way other management class and respective copygrooup retention will active while backup.
Thanks
Prem