Difference between revisions of "RHEL 8.x Spectrum Protect Commands description"

From Notes_Wiki
 
(2 intermediate revisions by the same user not shown)
Line 31: Line 31:
#::> q stgp HANASPOOL f=d
#::> q stgp HANASPOOL f=d
#:</pre>
#:</pre>
#For list of the clients configured for the backups
#To view information about one or more registered nodes.
#:<pre>
#:<pre>
#::> q node
#::> q node
#:</pre>
#To view information about registered nodes in specific policy domain
#:<pre>
#::q node * dom=<policy-domain>
#:</pre>
#:</pre>
#To check full details of any node
#To check full details of any node
Line 44: Line 48:
#:<pre>
#:<pre>
#::> q sched  
#::> q sched  
#:</pre>
#More commands on schedules
#:<pre>
#::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
#:</pre>
#:</pre>
#To check domain related schedules
#To check domain related schedules
Line 85: Line 97:
#:<pre>
#:<pre>
#::> q actlog
#::> q actlog
#:</pre>
#To display logs from specific data, time and use search parameter like schedule name, nodename, etc.,
#:<pre>
#::q actlog begind=mm/dd/yy begint=hh:mm:ss search=schedulename
#:</pre>
#More Commands on actlog
#:<pre>
#::q actlog begint=04:00:00
#::q actlog begint=00:00:00 search=migrate
#::q actlog begind=04/29/2022 begint=19:00:00
#:</pre>
#:</pre>
#For checking the sessions
#For checking the sessions
Line 109: Line 131:
#:<pre>
#:<pre>
#::q mount
#::q mount
#:</pre>
#To display scheduled and completed events for selected clients
#:<pre>
#::q event * t=a
#::To query events scheduled to start during the past seven day
#::q event * * begind=-7
#:</pre>
#to display information about the data for one or more nodes in a sequential access storage pool
#:<pre>
#::q nodedata <nodename>
#:</pre>
#To display information about the sequential-access primary and copy storage pool volumes moved by the MOVE MEDIA command.
#:<pre>
#::q media
#:</pre>
#To display information about one or more copy groups.
#:<pre>
#::q copygroup * * t=backup f=d
#::q copygroup * * t=archive f=d
#:</pre>
#To display information about management classes
#:<pre>
#::q mgmtclass * * f=d
#:</pre>
#:</pre>


[[Main Page|Home]] > [[RHEL]] > [[RHEL 8.x]] > [[RHEL 8.x Backup tools|Backup tools]] > [[RHEL 8.x Spectrum Protect Backup|Spectrum Protect Backup]] > [[RHEL 8.x Spectrum Protect Commands description|Spectrum Protect Commands description]]
[[Main Page|Home]] > [[RHEL]] > [[RHEL 8.x]] > [[RHEL 8.x Backup tools|Backup tools]] > [[RHEL 8.x Spectrum Protect Backup|Spectrum Protect Backup]] > [[RHEL 8.x Spectrum Protect Commands description|Spectrum Protect Commands description]]

Latest revision as of 11:11, 12 May 2023

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. To view information about one or more registered nodes.
    > q node
  9. To view information about registered nodes in specific policy domain
    q node * dom=<policy-domain>
  10. To check full details of any node
    > q node <nodename> format=detailed
    Ex:
    > q node NPLPOPRDAPP_TAPE f=d
  11. To check schedules
    > q sched
  12. 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
  13. To check domain related schedules
    > q sched LOCAL_DOM format=standard
    > q sched TAPE_DOM format=standard
  14. To check occupency of particular node
    > q occu <nodename>
  15. Use the copy commands to create a copy of objects or data.
    > q copy * *
  16. Copy domain
    q copy <poolname> f=d
    Ex:
    > q copy HANA_DOM f=d
  17. To check process running state
    > q proc
  18. To find the all associations between policy and clients
    > q assoc
  19. To find the all association of the policy
    > q assoc <policy-name>
    Ex:
    > q assoc HANA_DOM
  20. To find out the association of the one node
    > q occu NPLFIDEVAPP_TAPE
  21. To check the last hour logs
    > q actlog
  22. 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
  23. 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
  24. For checking the sessions
    > q session
  25. To check the running process
    > q proc
  26. To display the drive information
    > q drive
  27. To display the total system information
    > q system
  28. Migrate all the data from disk to tape
    migrate stgp NONPRDWKLYPOOL lo=0
  29. Display information about the status of one or more sequential access volumes that are mounted
    q mount
  30. 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
  31. to display information about the data for one or more nodes in a sequential access storage pool
    q nodedata <nodename>
  32. To display information about the sequential-access primary and copy storage pool volumes moved by the MOVE MEDIA command.
    q media
  33. To display information about one or more copy groups.
    q copygroup * * t=backup f=d
    q copygroup * * t=archive f=d
  34. To display information about management classes
    q mgmtclass * * f=d

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