/
/

How to Test Restore Readiness for Microsoft 365 Data Using Synology Tools

by Raine Grey, Technical Writer
How to Test Restore Readiness for Microsoft 365 Data Using Synology Tools blog banner image

Instant Summary

This NinjaOne blog post offers a comprehensive basic CMD commands list and deep dive into Windows commands with over 70 essential cmd commands for both beginners and advanced users. It explains practical command prompt commands for file management, directory navigation, network troubleshooting, disk operations, and automation with real examples to improve productivity. Whether you’re learning foundational cmd commands or mastering advanced Windows CLI tools, this guide helps you use the Command Prompt more effectively.

Key Points

  • Understand Microsoft 365’s Shared Responsibility Model
    • Microsoft does not guarantee recovery from accidental deletion, ransomware, or misconfiguration—independent Microsoft 365 backup and restore testing is required to ensure data protection.
  • Verify Backup Coverage and Prerequisites Before Testing
    • Confirm backups exist for Exchange Online, OneDrive, SharePoint, and Teams, with valid credentials, active licenses, and uninterrupted API access to avoid false restore failures.
  • Test Both Full and Granular Restore Scenarios
    • Perform restore readiness tests at the workload and item level to validate real-world recovery needs and ensure RTO/RPO requirements can be met.
  • Automate Restore Readiness Validation
    • Use automation (PowerShell, APIs, or backup tools) to regularly test restores, monitor success states, and log results for compliance and audit readiness.

Backup is only as useful as its ability to restore. This guide offers step-by-step instructions on how to test restore readiness for Microsoft 365 workloads. This includes Exchange Online, SharePoint, OneDrive, and Teams) using Synology tools.

By the end of this article, you will be able to secure business-critical data. And ensure that your organization can recover data reliably and quickly during incidents.

How to test restore readiness

Method 1: Validate Synology Active Backup for Microsoft 365

📌 Use Cases: Ideal for testing user-level and workload-level restores (Exchange, SharePoint, OneDrive, Teams)

📌 Prerequisites:

  • Synology NAS with Active Backup for Microsoft 365 (ABM365)
  • Configured and completed backup tasks
  • DSM and ABM365 updated to the latest version

Steps:

  1. Launch Synology Active Backup for Microsoft 365 from your NAS interface.
  2. Navigate to Task List to confirm backup status:
    • Check job results and latest run time.
    • Confirm backup size and success/failure status.
  3. Open the Restore Portal.
  4. Sign in using either:
    • Global Admin credentials
    • Delegated restore permissions
  5. Select a workload:
    • Exchange mailbox
    • OneDrive file
    • SharePoint site
    • Teams message
  6. Choose a restore point and preview the item
  7. Execute the restore and verify:
    • Correct item/content restored
    • Permissions and structure preserved
    • No data corruption or visibility issues

💡 Tip: Use the preview pane to validate item-level accuracy before restoring.

Method 2: Automate readiness checks via PowerShell or REST API

📌 Use Cases: This method is useful when you need to schedule health checks or proactive reporting on failed or idle backup jobs.

📌 Prerequisites:

Steps:

  1. Open PowerShell as an admin.
  2. Execute this command:

Connect-VB365

Get-VBOJobSession | Where-Object { $_.Status -ne “Success” } |

Format-Table Name, Status, EndTime

  1. Alternatively, in Synology, execute this bash script:

curl -X POST https://yourdiskstation:5001/webapi/entry.cgi \

-d “api=SYNO.Backup.M365.Status&version=1&method=list” \

-H “X-SYNO-TOKEN: your-session-token”

  1. Add scheduling or alerting via:
    • Windows Task Scheduler
    • Synology Task Scheduler
    • NinjaOne workflow automation

💡 Tip: Alert triggers include jobs that fail, don’t run within 24-48 hours, or generate incomplete objects.

Method 3: Track restore tests using Registry keys

📌 Use Cases: Great if you want to track restore frequency per device or tenant. You can also use this method as a supplement for audit compliance with internal SLAs or regulatory mandates.

📌 Prerequisites:

  • Local admin access to Windows Registry
  • Backup system with accessible test records
  • Script runner (such as NinjaOne, PowerShell task)
  • It is highly recommended that you back up your Windows Registry. Incorrect configurations can lead to system instability.

Steps:

  1. Press Win + R, type regedit, and click Enter.
  2. Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Org\BackupRestoreValidation
  3. Create the following values:
    • LastRestoreTestDate (String) = “2025-07-01T18:00:00Z
    • ToolUsed (String) = “Synology ABM365
  4. Use automation (like via NinjaOne or PowerShell) to:
    • Read keys and check for overdue tests.
    • Update values when tests are performed.
    • Trigger alerts if testing is overdue.

💡 Tip: Export registry entries to a central log server or compliance dashboard.

Method 4: Enforce endpoint backup policies via Group Policy (for Synology clients)

📌 Use Cases: This method is useful to prevent accidental file deletions, enforce volume shadow copy (VSS) usage, or protect endpoints used in hybrid restore scenarios.

📌 Prerequisites:

  • Windows domain environment with Group Policy access
  • Synology agent installed (if backing up local files too)

Steps:

  1. Press Win + R, type gpedit.msc, and click Enter.
  2. Go to: Computer Configuration > Administrative Templates > System > Windows File Protection
  3. Enable the following values:
    • Do not allow users to remove critical system files
    • Require Volume Shadow Copy for all local backups
  4. Apply GPO to relevant organizational units (OUs).
  5. Use gpresult or audit logs to verify GPO application.

💡 Note: Even if you’re not backing up endpoint files to Synology, these settings prevent critical data loss during accidental overwrite or ransomware recovery.

Method 5: Verify backup file accessibility via CMD or CLI

📌 Use Cases: This method ensures your backups are not just “logged” but physically accessible and usable. This method allows you to quickly check the presence and size of the backup file.

📌 Prerequisites:

  • File system access to backup directories
  • Network or mount access (SMB, iSCSI) for Synology shares

Steps:

A. For Synology Backup shares (via SMB)

  1. Execute this command:

net use Z: \\synology\m365backup

dir Z:\backups\user01

B. Automate scripts to:

  • Check file timestamps and sizes.
  • Confirm the availability of recent snapshots.
  • Log or alert if missing or undersized.

💡 Tip: Watch out for incomplete .vbcat files or missing OneDrive/Teams folders, which could signal failed backups or expired credentials.

Additional considerations when you test backup readiness

Restore scope

  • Always test both full and granular restores (e.g., an entire mailbox vs. a single email).
  • Simulate real-world incidents: corrupted SharePoint folder, deleted Teams chat, etc.

Credential expiration

  • OAuth and Graph API tokens typically expire every 1–2 years.
  • Schedule credential renewals and API permission audits every 12 months.

Licensing

  • Synology Active Backup limits access to certain features without license activation.
  • Backup jobs may run, but restore rights can silently lapse. Make sure to validate them often.

Multi-tenant management (for MSPs)

  • Track restore tests per client using:
    • Metadata tagging (e.g., in NinjaOne or restore job notes)
    • Timestamp logging (via Registry)
    • Tenant-scoped dashboards for reporting

💡 Tip: While testing once is helpful, it is always better to automate restore readiness to minimize risks. This is also a crucial consideration in any data backup and recovery plan.

⚠️ Things to look out for

Risks Potential Consequences Reversals
Backup jobs silently fail due to expired credentials No restorable backups for weeks or months Re-authenticate app credentials in Synology and rerun full backup jobs.
Job marked as “Success” but has object-level errors Missing mailboxes, corrupted files, or partial backup coverage Review job logs and enable email notifications or PowerShell alerting.
OAuth token or Graph API permissions change Partial or failed restores, especially for Teams and SharePoint Renew token and validate app permissions periodically (annually or biannually).
Backups stored but inaccessible due to permission drift Recovery impossible in an incident Audit repository access control lists (ACLs) and restore portal permissions.
Restore point too old to meet RTO/RPO Compliance failures or incomplete incident response Schedule restore tests weekly and automate timestamp logging using Registry or NinjaOne.
Endpoint backups excluded from cloud workflows Data loss for users with hybrid or local-only workflows Use GPO and Synology endpoint agents to enforce backup scope and retention.

Troubleshooting common restore issues

Access denied during Synology Restore

This can happen from misconfigured Graph API scopes or expired OAuth tokens. To resolve this, reauthorize the Microsoft 365 connector from within DSM.

Always ensure the application token has the necessary delegated permissions (such as Mail.ReadWriteSites.ReadWrite.All, etc.) and hasn’t expired.

Synology Restore portal won’t load

This is often a sign of DSM version compatibility issues or improper SSL/TLS settings. To resolve this, ensure the Synology DiskStation Manager (DSM) is updated to a version compatible with your current Microsoft 365 environment.

Additionally, confirm that HTTPS binding is properly configured for secure access. In environments where HTTP access is disabled or redirected incorrectly, the portal may fail to load entirely.

Missing items in the restore selection

This may indicate that the data was never indexed properly or that a backup job skipped key objects due to misconfiguration. This can happen when users are newly licensed, moved between groups, or excluded via filtering.

To resolve this, rerun the backup manually and check the logs for any skipped users or error messages. Also, confirm that indexing is enabled for all workloads.

Restore times out or freezes

This usually indicates performance issues with the backup repository or excessive network latency. Try isolating the restore operation to a faster disk or temporarily moving the job to a high-availability volume. For Synology, ensure your NICs are properly bonded or assigned and that your iSCSI or SMB connections are stable.

How NinjaOne can help unify restore readiness across tenants

  • PowerShell script deployment: Easily push scripts to validate Synology job status. You can also test for failed backups, and report on restore history across endpoints and tenants.
  • Registry auditing: NinjaOne can scan and report on custom registry keys (e.g., LastRestoreTestDate) to confirm whether local admins or agents have completed restore tests within defined intervals.
  • Custom dashboards: NinjaOne gives you centralized visibility into backup job health, the last successful restore per tenant or device, and gaps in testing frequency or object coverage.
  • Cross-tenant alerting: The platform automatically triggers alerts when restore validations are overdue and backups  backups fail silently. Or, when OAuth tokens or licenses are nearing expiration.
  • Workflow automation: Link restore readiness checks to tickets, logs, or alerts. Integrate restore validation events into compliance reporting flows or SLA documentation.

Test restore readiness with the right tools

To state the obvious, backups are useless if they cannot be restored. That’s why testing restore readiness isn’t optional; it’s essential. This guide gave you the tools, techniques, and automation pathways to ensure that your Microsoft 365 is not just backed up, it’s recoverable.

Related topics:

FAQs

backup restoration test is the process of verifying that backed-up data, such as emails, files, or configurations, can be successfully recovered to their original or alternative location. The goal is to ensure that backup systems are not only capturing data, but also preserving it in a way that makes it restorable when needed. These tests may include full system restores, point-in-time recovery, or item-level tests for platforms like Microsoft 365.

Test restores are critical because a backup is only valuable if it can be successfully restored during a real-world incident. Without testing, organizations risk:

  • Discovering backup failures too late
  • Losing compliance with RTO/RPO requirements
  • Facing corrupted or incomplete data during recovery
  • Encountering expired credentials or access issues

The aim of recovery testing is to validate the reliability, integrity, and speed of the data recovery process. It ensures that:

  • Data can be restored within acceptable timeframes (RTO)
  • Backup data is complete and usable
  • Tools, credentials, and configurations are working correctly
  • Teams are prepared to execute recovery plans during downtime or disaster events

A restore point in Windows 365 (Cloud PC) refers to a saved state of the Cloud PC at a specific point in time that you can revert back to if needed. With Point-in-time restore, administrators (or users with permission) can choose from short-term, long-term, or on-demand restore points to roll the Cloud PC back to how it was at that earlier moment.

You might also like

Ready to simplify the hardest parts of IT?

NinjaOne Terms & Conditions

By clicking the “I Accept” button below, you indicate your acceptance of the following legal terms as well as our Terms of Use:

  • Ownership Rights: NinjaOne owns and will continue to own all right, title, and interest in and to the script (including the copyright). NinjaOne is giving you a limited license to use the script in accordance with these legal terms.
  • Use Limitation: You may only use the script for your legitimate personal or internal business purposes, and you may not share the script with another party.
  • Republication Prohibition: Under no circumstances are you permitted to re-publish the script in any script library belonging to or under the control of any other software provider.
  • Warranty Disclaimer: The script is provided “as is” and “as available”, without warranty of any kind. NinjaOne makes no promise or guarantee that the script will be free from defects or that it will meet your specific needs or expectations.
  • Assumption of Risk: Your use of the script is at your own risk. You acknowledge that there are certain inherent risks in using the script, and you understand and assume each of those risks.
  • Waiver and Release: You will not hold NinjaOne responsible for any adverse or unintended consequences resulting from your use of the script, and you waive any legal or equitable rights or remedies you may have against NinjaOne relating to your use of the script.
  • EULA: If you are a NinjaOne customer, your use of the script is subject to the End User License Agreement applicable to you (EULA).