RHEL 8.x Spectrum Protect Commands description

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

Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Commands description

  1. To find the device class
    > q dev
  2. For checking the disk / tape libraries
    > q library
  3. For checking the tape volumes
    > q libvol
  4. For checking paths of tape library
    > q path
  5. For checking policy domains
    > q dom
  6. To check storage pools
    > q stgp
  7. To check full details of the storage pool
    > q stgp <poolname>
    Ex:
    > q stgp HANASPOOL f=d
  8. For list of the clients configured for the backups
    > q node
  9. To check full details of any node
    > q node <nodename> format=detailed
    Ex:
    > q node NPLPOPRDAPP_TAPE f=d
  10. To check schedules
    > q sched
  11. More commands on schedules
    q sched * *
    q sched * t=a
    q schedule * * f=d
    q sched * t=a f=d
    q sched DAILY_DEVQA_MIGR t=a f=d
  12. To check domain related schedules
    > q sched LOCAL_DOM format=standard
    > q sched TAPE_DOM format=standard
  13. To check occupency of particular node
    > q occu <nodename>
  14. Use the copy commands to create a copy of objects or data.
    > q copy * *
  15. Copy domain
    q copy <poolname> f=d
    Ex:
    > q copy HANA_DOM f=d
  16. To check process running state
    > q proc
  17. To find the all associations between policy and clients
    > q assoc
  18. To find the all association of the policy
    > q assoc <policy-name>
    Ex:
    > q assoc HANA_DOM
  19. To find out the association of the one node
    > q occu NPLFIDEVAPP_TAPE
  20. To check the last hour logs
    > q actlog
  21. To display logs from specific data, time and use search parameter like schedule name, nodename, etc.,
    q actlog begind=mm/dd/yy begint=hh:mm:ss search=schedulename
  22. More Commands on actlog
    q actlog begint=04:00:00
    q actlog begint=00:00:00 search=migrate
    q actlog begind=04/29/2022 begint=19:00:00
  23. For checking the sessions
    > q session
  24. To check the running process
    > q proc
  25. To display the drive information
    > q drive
  26. To display the total system information
    > q system
  27. Migrate all the data from disk to tape
    migrate stgp NONPRDWKLYPOOL lo=0
  28. Display information about the status of one or more sequential access volumes that are mounted
    q mount
  29. To display scheduled and completed events for selected clients
    q event * t=a
    To query events scheduled to start during the past seven day
    q event * * begind=-7
  30. to display information about the data for one or more nodes in a sequential access storage pool
    q nodedata <nodename>
  31. To display information about the sequential-access primary and copy storage pool volumes moved by the MOVE MEDIA command.
    q media
  32. To display information about one or more copy groups.
    q copygroup * * t=backup f=d
    q copygroup * * t=archive f=d
  33. To display information about management classes
    q mgmtclass * * f=d

Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Commands description