How do I cancel pending jobs in the Log Copy Queue?
steverowlands
Posts: 4
Our off-line storage device has failed so the "copy backup to network" has been failing.
I have amended the jobs so they will no longer attempt to do this but I also need to clear down the queue of pending copies. I can't see an obvious way to do this.
Any help would be appreciated.
Steve
I have amended the jobs so they will no longer attempt to do this but I also need to clear down the queue of pending copies. I can't see an obvious way to do this.
Any help would be appreciated.
Steve
Comments
EXEC master..sqbdata 'UPDATE backupfiles_copylist SET status = ''C'' WHERE ID = ...'
You can find the IDs using the following to identify the pending tasks:
EXEC master..sqbdata 'SELECT * FROM backupfiles_copylist WHERE status = ''P'' '
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
I ran EXEC master..sqbdata 'SELECT * FROM backupfiles_copylist WHERE status = ''P'' ' and it returned no rows.
So I ran:
EXEC master..sqbdata 'SELECT status, count(*) FROM backupfiles_copylist group by status '
and got:
Status
E 1346
S 7996
Is it safe to set all these to status 'C'?
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Thanks for the assistance with this.
Steve
Getting too many mail alerts file already exists.. and i want clear all the files with in the range of IDs
Getting too
Getting too
Getting too many mail alerts file already exists.. and i want clear all the files with in the range of IDs
Getting too
Getting too