Solved

SQL Server backup problem

Posted on 2009-05-13
5
1,142 Views
Last Modified: 2012-05-06
Hello ,
i have a job that backups the dabatase to another server on a disk.
the step is
backup database P93 to disk='\\ihs-main-nas-02\Backups\P93DIFF02.BAK' with differential, init, stats = 10

the error is the job failed. the job was invoked by schedule 42 (P93 Tuesday). The last step to run  was step 1. (P93 Tuesday)

the detail error is

Executed as user IBM/Sql Service. 10 percent processed. [SQLSTATE 01000]. (Message 3211).  20 percent processed. [SQLSTATE 01000]. (Message 3211). 30 percent processed. [SQLSTATE 01000]. (Message 3211). 40 percent processed. [SQLSTATE 01000]. (Message 3211).  Write on '\\ihs-main-nas-02\Backups\P93DIFF02.BAK' failed 112.  (There is no enough space on the disk). [SQLSTATE 4200] (Error 3202). BACKUP DATABASE is terminating abnormally. [SQLSTATE 42000]. (Error 3013). The step failed.


So does it mean that the hard has no enough disk space. because it says so somewhere in the error and because of that the backup fails.
0
Comment
Question by:aatishpatel
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 39

Expert Comment

by:BrandonGalderisi
ID: 24377551
Yes.  The backup location "\\ihs-main-nas-02\Backups\" does not have enough free space.
0
 
LVL 31

Expert Comment

by:James Murrell
ID: 24377870
As message says (There is no enough space on the disk)

as BrandonG says disk='\\ihs-main-nas-02\Backups\
0
 

Author Comment

by:aatishpatel
ID: 24379086
ok that's fine but i also have a second job. read it carefully

2)      i have a second job that backups the database to another server on a disk.
the code written is
backup database P95 to disk='\\ihs-main-nas-02\Backups\P95DIFF01.BAK' with differential, init, stats = 10
The error is  The job failed. The job was invoked by schedule 47 (P95 Monday). The last step to run was step 1 (P95 Monday)
In detail----------
Executed as user: IBM\Sqlservice. The backup data at the end of \\ihs-main-nas-02\backups\P95DIFF01.bak is incorrectly formatted. backup set on the media might be damaged and unusable. To determine the backup set on the media, use RESTORE HEADERONLY. The determine the usability of the backup sets, run RESTORE VERIFYONLY. If all of the backup sets are incomplete, reformat the media using BACKUP WITH FORMAT, which destroys backup sets. [SQLSTATE 4200] (Error 3266). BACKUP DATABASE is terminating abnormally. [SQLSTATE 4200] (Error 3013). The step failed.


so what is the problem in there.
0
 
LVL 39

Accepted Solution

by:
BrandonGalderisi earned 500 total points
ID: 24379122
From reading that, I would say your differential backup file is corrupted.  Possibly due to the file system filling up while the backup was being written to.
0
 

Author Closing Comment

by:aatishpatel
ID: 31581112
thanks sir
0

Featured Post

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question