Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

SQLSTATE 42000 error 22029 during backup transaction log Expand / Collapse
Author
Message
Posted Wednesday, March 26, 2014 9:31 AM
SSC Rookie

SSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC RookieSSC Rookie

Group: General Forum Members
Last Login: Yesterday @ 6:49 AM
Points: 31, Visits: 82
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
Post #1555048
Posted Thursday, March 27, 2014 12:01 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, July 21, 2014 2:56 AM
Points: 2,603, Visits: 2,061
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."
Post #1555273
Posted Thursday, March 27, 2014 12:06 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, July 21, 2014 2:56 AM
Points: 2,603, Visits: 2,061
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."
Post #1555276
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse