SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQLSTATE 42000 error 22029 during backup transaction log


SQLSTATE 42000 error 22029 during backup transaction log

Author
Message
cygne17_2 77208
cygne17_2 77208
SSC Veteran
SSC Veteran (256 reputation)SSC Veteran (256 reputation)SSC Veteran (256 reputation)SSC Veteran (256 reputation)SSC Veteran (256 reputation)SSC Veteran (256 reputation)SSC Veteran (256 reputation)SSC Veteran (256 reputation)

Group: General Forum Members
Points: 256 Visits: 92
Hi,
We use sql server 2005.
Our "transaction log backup" job shows us this error:
"sqlmaint.exe error. SQLSTATE 42000 error 22029"

But the transaction log backup was created successfuly and we have no error in "SQL Server error logs".
Also we can see in the backup directory than the transaction log backup file is created.

But, the deletion of expired transaction log backup is not working because we have transaction log backup older than 2 days.

So it's look like the transaction log backup run fine and the deletion of expired transaction log do not run fine

In the job, the command launched is this:

@command=N'EXECUTE master.dbo.xp_sqlmaint N''-PlanID 1F2E5C91-6A3C-4A2C-B18A-282B375EFAEF -WriteHistory -BkUpMedia DISK -BkUpLog "C:\Backup_SQL" -DelBkUps 2DAYS -CrBkSubDir -BkExt "TRN"''',

Do you have an idea why the deletion of expired transaction log do not work ?

This event seems to be occured since we have a lack of space on our backup disk. But now, a lot of space is available.

regards
C
free_mascot
free_mascot
SSCertifiable
SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)

Group: General Forum Members
Points: 7387 Visits: 2250
Many people face this issue including myself. The issue would be with the Maintenance JOB creation. Check in delete backup location and extention of file should be trn

HTH

---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
free_mascot
free_mascot
SSCertifiable
SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)SSCertifiable (7.4K reputation)

Group: General Forum Members
Points: 7387 Visits: 2250
Find additional link with reference to this:

http://blogs.msdn.com/b/chrissk/archive/2010/01/05/troubleshooting-sql-maintenance-plan-message-sqlstate-42000-error-22029.aspx
http://www.sqlservercentral.com/Forums/Topic128881-24-1.aspx

HTH

---------------------------------------------------
"Thare are only 10 types of people in the world:
Those who understand binary, and those who don't."
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search