RHEL 8.x Spectrum Protect Commands description
From Notes_Wiki
Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Commands description
- To find the device class
- > q dev
- For checking the disk / tape libraries
- > q library
- For checking the tape volumes
- > q libvol
- For checking paths of tape library
- > q path
- For checking policy domains
- > q dom
- To check storage pools
- > q stgp
- To check full details of the storage pool
- > q stgp <poolname>
- Ex:
- > q stgp HANASPOOL f=d
- To view information about one or more registered nodes.
- > q node
- To view information about registered nodes in specific policy domain
- q node * dom=<policy-domain>
- To check full details of any node
- > q node <nodename> format=detailed
- Ex:
- > q node NPLPOPRDAPP_TAPE f=d
- To check schedules
- > q sched
- 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
- To check domain related schedules
- > q sched LOCAL_DOM format=standard
- > q sched TAPE_DOM format=standard
- To check occupency of particular node
- > q occu <nodename>
- Use the copy commands to create a copy of objects or data.
- > q copy * *
- Copy domain
- q copy <poolname> f=d
- Ex:
- > q copy HANA_DOM f=d
- To check process running state
- > q proc
- To find the all associations between policy and clients
- > q assoc
- To find the all association of the policy
- > q assoc <policy-name>
- Ex:
- > q assoc HANA_DOM
- To find out the association of the one node
- > q occu NPLFIDEVAPP_TAPE
- To check the last hour logs
- > q actlog
- 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
- 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
- For checking the sessions
- > q session
- To check the running process
- > q proc
- To display the drive information
- > q drive
- To display the total system information
- > q system
- Migrate all the data from disk to tape
- migrate stgp NONPRDWKLYPOOL lo=0
- Display information about the status of one or more sequential access volumes that are mounted
- q mount
- 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
- to display information about the data for one or more nodes in a sequential access storage pool
- q nodedata <nodename>
- To display information about the sequential-access primary and copy storage pool volumes moved by the MOVE MEDIA command.
- q media
- To display information about one or more copy groups.
- q copygroup * * t=backup f=d
- q copygroup * * t=archive f=d
- To display information about management classes
- q mgmtclass * * f=d
Home > RHEL > RHEL 8.x > Backup tools > Spectrum Protect Backup > Spectrum Protect Commands description