RHEL 8.x Spectrum Protect Schedule the Backups

From Notes_Wiki
Revision as of 09:24, 2 May 2023 by Saurabh (talk | contribs) (Created page with "Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Schedule the Backups #On the backup server, open backup console #:<pre> #:: dsmadmc #:</pre> #Schedule Daily backup #:<pre> #::> DEFINE SCHEDULE <domain> <clientname_DAILY_BK> TYPE=CLIENT ACTION=ARCHIVE OBJECTS='"/<mount-point1>/" "/<mount-point2>/" /<mou...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

  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-name>' 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
  4. 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-name>' 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
  5. Associate the schedule with the client node
    > DEFINE ASSOCIATION <Domain> <clientname_WEEKLY_BK> <clientname>_BA
    Ex:
    > DEFINE ASSOCIATION FSDOM SPCLIENT1_WEEKLY_BK SPCLIENT1_BA
  6. Check the all the schedule
    > q schedule * f=d
  7. Check all the schedules for single domain
    > q schedule <domain> f=d
  8. For any type of schedule, On the client node, stop / start the backup agent
  9. Check dsmcad service running.
    ps -ef | grep dsmcad
  10. If service running kill the same
    kill -9 <processname>
  11. Start dsmcad in RHEL client
    cd /opt/tivoli/tsm/client/ba/bin
    ./dsmcad
  12. 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