RHEL 8.x Spectrum Protect Move backups to DR

From Notes_Wiki

Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Move backups to DR

Create storage pool for offsite pool

  1. Create storage pool for offsite pool
    DEFINE STGPOOL <offsite-tape-storage-pool-name> LTOCLASS pooltype=copy description="Description for the Offsite tape pool" maxscratch=2 collocate=no
    Ex
    DEFINE STGPOOL MONTHLY_DR_OFFSITEPOOL LTOCLASS pooltype=copy description="Monthly OFFSITE TAPE Storage Pool for DR" maxscratch=2 collocate=no
  2. Check the status
    q stgpool


If new tape cartridges inserted to tape library

If new tape cartridges inserted to tape library, then need to checkin the tapes cartridges to library by using below commands

  1. Verify the list of tapes currently in the library with the following command
    show slots TS4300
  2. Verify the list of tapes currently checked in with Spectrum Protect with the following command
    query libv TS4300
  3. Run the audit library for finding the newly inserted tapes
    audit library TS4300 checkl=yes refresh=yes
  4. Then checked in discovered (newly added tapes) to library as scratch
    label libvolume TS4300 search=yes checkin=scratch labelsource=barcode
  5. Look at activity log of above command Or use web UI instead of doing below
    q proc
    query actlog search="MOVE DRMEDIA"
  6. Find the newly inserted tapes
    query libv TS4300

If Old/Used/Offsite tape cartridges inserted to tape library

If old/used tape cartridges inserted to tape library, then need to remove the data and insert as a scartch by using below

  1. Insert the tape cartridges in tape media
  2. Check the drmedia tapes list
    query drmedia
  3. This step is required for, If inserted tapes are part of drmedia. The inserted tapes status must be "Vault retrieve". Then Change the tapes state to onsite
    move drmedia <tape-name> wherestate=vaultretrieve tostate=onsiteretrieve
    Ex:
    move drmedia GB7441L8 wherestate=vaultretrieve tostate=onsiteretrieve
    Note: If inserted tapes are not part of drmedia, avoid this step.
  4. Run below command for checkin
    label libvolume TS4300 <tape-name> checkin=scratch overwrite=yes
    Ex:
    label libvolume TS4300 GB7451L8 checkin=scratch overwrite=yes
  5. Get the pending request id by using below command
    query request
  6. Let the server know tapes are inserted
    reply <request-number>
    Wait for complete the task
  7. Checkin the tapes
    label libvolume TS4300 search=yes checkin=scratch labelsource=barcode
  8. See the status
    show slots TS4300
    q libvol TS4300

Backup disk pool to tape offsite pool

  1. Backup disk pool to tape offsite pool
    BACKUP STGP <Diskpool> <offsite-tape-storage-pool-name> wait=no
    Ex
    BACKUP STGP HANADISKPOOL MONTHLY_DR_OFFSITEPOOL wait=no
  2. Get the process number
    q proc
  3. Check the detail log based on process number
    q actlog search="PROCESS: <process-number>"
    Ex
    q actlog search="PROCESS: 1072"
  4. Check the tape cartridge name and other information
    query volume * stgpool=<offsite-tape-storage-pool-name> devclass=LTOCLASS f=d
    Ex
    query volume * stgpool=MONTHLY_DR_OFFSITEPOOL devclass=LTOCLASS f=d
  5. Before moving tape to vault status is as follows:
    query drmedia
  6. Move tape cartridge to vault status
    move drmedia KG7451L8 tostate=vault
  7. Check the process status
    q proc
  8. Check the status
    query drmedia


Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Move backups to DR