RHEL 8.x Spectrum Protect Schedule the Backups

From Notes_Wiki
Revision as of 06:56, 12 May 2023 by Saurabh (talk | contribs)

Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Schedule the Backups


Schedule Daily backup

  1. On the backup server, open backup console
    dsmadmc
  2. Schedule Daily backup
    > DEFINE SCHEDULE <domain> <clientname_DAILY_BK> TYPE=CLIENT ACTION=ARCHIVE OBJECTS='"/<mount-point1>/" "/<mount-point2>/" /<mount-pointn>/' OPTIONS='-subdir=yes -archmc=<management-class>' DESCRIPTION='Daily Backup of <client_name>' SCHEDSTYLE=ENHANCED STARTDATE=05/19/2022 STARTTIME=17:30:00 DAYOFWEEK=ANY PRIORITY=5 DURATION=30 DURUNITS=MINUTES
    Ex:
    > DEFINE SCHEDULE FSDOM SPCLIENT1_DAILY_BK TYPE=CLIENT ACTION=ARCHIVE OBJECTS='"/" "/home/"' OPTIONS='-subdir=yes -archmc=FSMGT' DESCRIPTION='Daily Backup of SPCLIENT1' SCHEDSTYLE=ENHANCED STARTDATE=05/19/2022 STARTTIME=17:30:00 DAYOFWEEK=ANY PRIORITY=5 DURATION=30 DURUNITS=MINUTES
  3. Associate the schedule with the client node
    > DEFINE ASSOCIATION <Domain> <clientname_DAILY_BK> <clientname>_BA
    Ex:
    > DEFINE ASSOCIATION FSDOM SPCLIENT1_DAILY_BK SPCLIENT1_BA

Schedule Weekly backup

  1. On the backup server, open backup console
    dsmadmc
  2. Schedule Weekly backup
    > DEFINE SCHEDULE <domain> <clientname_WEEKLY_BK> TYPE=CLIENT ACTION=ARCHIVE OBJECTS='"/<mount-point1>/" "/<mount-point2>/" /<mount-pointn>/' OPTIONS='-subdir=yes -archmc=<management-class>' DESCRIPTION='Weekly Backup of <client_name>' SCHEDSTYLE=ENHANCED STARTDATE=05/19/2022 STARTTIME=17:30:00 DAYOFWEEK=<starting-two-letters-of-the-day> PRIORITY=5 DURATION=30 DURUNITS=MINUTES
    Ex:
    > DEFINE SCHEDULE FSDOM SPCLIENT1_WEEKLY_BK TYPE=CLIENT ACTION=ARCHIVE OBJECTS='"/" "/home/"' OPTIONS='-subdir=yes -archmc=WEEKLY' DESCRIPTION='Weekly Backup of SPCLIENT1' SCHEDSTYLE=ENHANCED STARTDATE=05/19/2022 STARTTIME=17:30:00 DAYOFWEEK=MO PRIORITY=5 DURATION=30 DURUNITS=MINUTES
  3. Associate the schedule with the client node
    > DEFINE ASSOCIATION <Domain> <clientname_WEEKLY_BK> <clientname>_BA
    Ex:
    > DEFINE ASSOCIATION FSDOM SPCLIENT1_WEEKLY_BK SPCLIENT1_BA

Check the schedule status

  1. Check the all the schedule
    > q schedule * f=d
  2. Check all the schedules for single domain
    > q schedule <domain> f=d

On the client node, stop / start the backup agent

  1. Check dsmcad service running.
    ps -ef | grep dsmcad
  2. If service running kill the same
    kill -9 <processname>
  3. Start dsmcad in RHEL client
    cd /opt/tivoli/tsm/client/ba/bin
    ./dsmcad
  4. Start dsmcad in AIX
    cd /usr/tivoli/tsm/client/ba/bin64
    ./dsmcad

Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Schedule the Backups