Skip to content

Commit

Permalink
Don't RecoverAfterRestore when we restore to a file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco van Wieringen committed Mar 14, 2015
1 parent 2817856 commit d58126e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/win32/plugins/filed/mssqlvdi-fd.c
Expand Up @@ -1799,7 +1799,7 @@ static bRC end_restore_job(bpContext *ctx, void *value)

Dmsg(ctx, dbglvl, "mssqlvdi-fd: entering end_restore_job\n");

if (p_ctx->RecoverAfterRestore) {
if (!p_ctx->RestoreToFile && p_ctx->RecoverAfterRestore) {
if (!perform_ado_recover(ctx)) {
retval = bRC_Error;
}
Expand Down

0 comments on commit d58126e

Please sign in to comment.