on 2012 Nov 06 3:28 PM
Hi. One of our customers is reporting that his maintenance-plan-driven backup will sometimes fail validation. He has the process setup to send him an email when a failure occurs. What causes these failures? Always, subsequent backups are (for a time) fine--report no failures.
Request clarification before answering.
Is the database in active use (i.e. running transactions) during the validation? (IIRC, the maintenance plan runs its validation against the active database, not against a copy of the backup.) - If so, confine the following general warning on validation:
Caution
Validating a table or an entire database should be performed while no connections are making changes to the database; otherwise, errors may be reported indicating some form of database corruption even though no corruption actually exists.
Does a further validation of the same database (i.e. not in the next run) give the same errors?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, that would surely avoid that situation.
FWIW, I have some maintenance plans created with v11.0.1, and I guess that option was not available then. At least the according validation plan does only prevent logins during its run, i.e. only the following option has been set:
"Disallow logins while the maintenance plan is running"
If only this option is set, this would still allow existing connections to make modifications which might lead to the cited false positives.
A similar behavior was reported when the maintenance plan starts from a workstation instead of a network server as described in this question.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
52 | |
6 | |
5 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.