Copy job status codes

Forum for users of Redgate's SQL Backup tool

Copy job status codes

Postby RichardRayJH » Wed Jul 17, 2013 6:10 pm

When I run

Code: Select all
exec master..sqbdata 'SELECT * FROM backupfiles_copylist where status <> ''s'' order by lastattempt desc'

one of the columns I get back is 'status'. I'm guessing that:

'S' is 'Success' (applied when the copy has succeeded),
'E' is 'Error' (applied after the copy job gives up),
'P' is 'Pending' (applied when the job is queued up but has run yet)

but there seem to be a few others.

What are the possible values, and what do they all mean?
Richard Ray
Jackson Hole Mountain Resort
Teton Village, WY
Posts: 13
Joined: Mon Sep 21, 2009 8:49 pm
Location: Teton Village, WY, USA

Postby petey » Thu Jul 18, 2013 6:21 am

A for active, meaning that the file is currently being copied.
C for cancelled, when the source file cannot be found, or when copying to the hosted storage is cancelled.

E for expired, which by default happens 24 hours after the file has been placed in the queue and could not be copied during that interval.
Peter Yeoh
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Posts: 2357
Joined: Sun Apr 24, 2005 11:34 am

Return to SQL Backup Previous Versions

Who is online

Users browsing this forum: No registered users and 1 guest