Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions docs/dnn-localization/131-dnn-phase2-exec-rollback.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,13 +135,15 @@ upgrade). Use the **Step 1.5.0 backup** only if you want to reset everything (in

```
1. STOP the IIS site (free all file locks).
2. DB RESTORE:
2. DB RESTORE (VERIFYONLY FIRST — the rollback contract, #527 §6 / §4.3 here):
-- (a) verify the backup is restorable BEFORE overwriting anything:
RESTORE VERIFYONLY FROM DISK = '…\<anchor>.bak' WITH CHECKSUM;
-- (b) ONLY if (a) is green, kick everyone out and overwrite:
ALTER DATABASE [DotNetNuke] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;
RESTORE DATABASE [DotNetNuke]
FROM DISK = '…\<anchor>.bak'
WITH REPLACE, RECOVERY, CHECKSUM;
-- VERIFYONLY first, always (the rollback contract, #527 §6):
RESTORE VERIFYONLY FROM DISK = '…\<anchor>.bak' WITH CHECKSUM;
-- (c) abort if (a) failed — do NOT run (b) on an unverifiable backup.
3. WEBROOT RESTORE:
- delete the upgraded webroot's bin/ + the wizard-touched files
- restore bin/, web.config, Portals/, DesktopModules/, App_Data/ from the anchor's files backup
Expand Down
Loading