# Restore a Database Backup Safely

### How to Restore a Database Backup Safely in Muhasib ERP

### Overview

This guide will help you restore an approved.bak into the intended isolated or authorized target and validate its contents.

The target database state is replaced by the selected backup; later target changes may be lost.

### Who can do this

You need access to Backup &amp; Restore access, SQL Server restore rights, target-database authority, and explicit business approval.

### Before you start

Confirm exact target server/database, backup provenance, version compatibility, pre-restore backup, user outage, rollback plan, file integrity, and written approval.

<div id="bkmrk-%F0%9F%9A%A8-importantmake-sure" style="border-left: 4px solid #dc2626; background: #fef2f2; padding: 12px 16px; margin: 15px 0; border-radius: 4px;">Before saving, check that the correct company is open and that you have permission to complete this task.</div>### Where to find it

Back Office → Essentials Setup → Backup and Restore → restore database.

### Restore a Database Backup Safely

#### Step 1: Stop and confirm the target is not an unintended production database

#### Step 2: Create and verify a pre-restore backup of the current target

#### Step 3: Disconnect or coordinate active users/services

#### Step 4: Select the approved .bak file

#### Step 5: Review target identity and confirm restore once

#### Step 6: Reconnect, launch Muhasib, and run post-restore checks

#### Step 7: Preserve logs and both backups

### Check your work

Confirm database identity/revision, company, users, settings, masters, transaction counts/totals, reports, and application startup.

<div id="bkmrk-%F0%9F%92%A1-tipcheck-the-saved" style="border-left: 4px solid #2563eb; background: #eff6ff; padding: 12px 16px; margin: 15px 0; border-radius: 4px;">Take a moment to check your work before closing the window. This small check can save time later.</div>### If something goes wrong

- Do not repeatedly restore after an error without preserving evidence.
- Resolve version, active-connection, path, permission, and file-integrity issues first.

### Related guides

- [Create and Verify a Manual Database Backup](https://docs.muhasiberp.com/link/283)
- [Connect Muhasib ERP to an Existing Database](https://docs.muhasiberp.com/link/554)
- [Recover from a Database or Startup Failure](https://docs.muhasiberp.com/link/579)

### What to do next

<div id="bkmrk-%E2%9C%85-next-actioncontinu" style="border-left: 4px solid #16a34a; background: #f0fdf4; padding: 12px 16px; margin: 15px 0; border-radius: 4px;">[**Create and Verify a Manual Database Backup**](https://docs.muhasiberp.com/link/283).</div>