Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. IT Analytics Help
  3. Section IV. End user
  4. Pipelined functions for report query building
  5. listJobSummaryAfterRestart for NetWorker Backup Jobs
  6. Example Query

Example Query

Note:

In the following sample Report Template query, spHosts is the same as Hosts, but is specifically for use in stored procedures.

SELECT job_id, c.hostname client, s.hostname server, sc.schedule_name, start_date, finish_date, kilobytes, DECODE(overall_status,0, 'Successful',1,'Partial',3,'Running',4,'Failed', NULL) overall_status,
DECODE(was_restarted,0,'No','Yes') was_restarted, vendor_status, orig_vendor_status, client_resource_name, window_start_date, window_finish_date
FROM TABLE(leg_rtd.listJobSummaryAfterRestart(${startDate},${endDate},100000,
${spHosts},null,null,null)) t, apt_v_server s, apt_v_server c, apt_v_leg_schedule sc
WHERE t.server_id   = s.server_id
  AND t.client_id   = c.server_id
  AND t.schedule_id = sc.schedule_id(+) ORDER BY t.start_date

Feedback

Was this page helpful?
Previous

listJobSummaryAfterRestart for NetWorker Backup Jobs

Next

listOfBackupWindowDates

Feedback

Was this page helpful?