q act begind=-1 search="media error"
#note the vol with error and query it to get its status
q libv cir-g-lib
#check the volume out
checkout libv
#query configured schedules
query sched f=d
#Removing a node from backup
q node
q filespace
del filespace
del filespace
remove node
#Renaming a node
rename node node2 node3 (this renames the node, but it keeps all the data)
(you'll need to logon to node2/3 and edit the dsm.opt/dsm.sys file etc and restart the scheduler to rename it on that side too).
#List filespaces that have not been backed up in the last 10 days for node
SELECT node_name,filespace_name, filespace_type,DATE(backup_end) as DATE FROM filespaces WHERE -node_name='
#show backups for the last 7 days
q event * * begind=-7 begint=12:00 endd=today node=
#show last backup completion date/time
q file
#show last successful backup end times for node
select END_TIME from summary where activity='BACKUP' and SUCCESSFUL='YES' and ENTITY='