On Monday morning, the IT department discovers that thousands of files in OneDrive and SharePoint have new extensions, while some emails are missing from mailboxes. The board’s first question is usually: ‘But this is the Microsoft cloud – don’t they make backups?’

    The short answer: Microsoft ensures service availability and maintains copies in case of a data centre failure, while Microsoft 365 provides a recycle bin, version history and retention policies. However, none of these mechanisms is a complete backup that lets you quickly roll back the entire environment to its pre-attack state. The organisation is responsible for protecting its own data, and Microsoft itself recommends considering an additional backup solution. In this article, we compare the recycle bin, version history, retention, disaster recovery and backup, show how much time you have to recover data, and walk through a ransomware recovery scenario.

    What Microsoft does and what you are responsible for

    Microsoft 365 operates under a shared responsibility model. Microsoft is responsible for the infrastructure, service availability and data centre resilience. The organisation is responsible for its own data, accounts, permissions and its ability to restore them following an error, sabotage or attack. Microsoft confirms in the FAQ for Microsoft 365 Backup, that its position on this matter has not changed. What has changed is that it provides more tools to help organisations meet this responsibility.

    In practice, this means that built-in mechanisms protect against everyday mishaps, such as accidentally deleting a file or message. However, they are not designed for the large-scale restoration of hundreds of accounts and sites at once, which is a typical requirement after a ransomware attack.

    The same applies to Teams: chats are stored in Exchange Online mailboxes, while files are stored in SharePoint or OneDrive, so they are protected by the mechanisms of those services. We explain exactly where a file sent in a chat is stored and where one sent in a channel is stored in the article OneDrive vs SharePoint vs Teams: where should you store business files?

    Recycle bin, version history, retention, disaster recovery and backup: a comparison

    Each of these mechanisms addresses a different problem. The trouble begins when they are treated as interchangeable.

    Mechanism

    Purpose

    By default

    Limitation in a ransomware incident

    SharePoint and OneDrive recycle bin

    Restore deleted files

    93 days; after that, Microsoft may still be able to recover the data for 14 days

    Does not help when a file is encrypted in place; restoration is manual and separate for each OneDrive and site

    Version history

    Revert to an earlier version of a file

    At least 500 versions per file (the limit can be increased)

    Restoration is performed by users and does not scale well for a large-scale attack; the version limit may be exhausted

    Restore OneDrive / restore a SharePoint library

    Roll back all changes in OneDrive or a library to an earlier point in time

    The last 30 days

    Separate for each OneDrive and each library; relies on version history and the recycle bin, so it cannot restore files deleted from the site collection recycle bin

    Item recovery in Exchange Online

    Restore deleted messages

    14 days, with the option to extend to 30

    Separate for each mailbox

    Legal holds and retention policies

    Retain data for compliance and legal proceedings; locked retention policies in Exchange provide data immutability

    According to configured policies

    Legal holds are optimised for export (eDiscovery), not large-scale restoration

    Disaster recovery on the Microsoft side

    Service continuity in the event of a data centre failure

    Always active, with no customer-side configuration required

    Preserves the current state of data, with no historical restore points

    Backup (Microsoft 365 Backup or a partner solution)

    Restore data to a healthy pre-incident state, including at scale

    According to the backup policy

    Requires implementation, licensing and regular restoration testing

    The numerical values in the table are taken from Microsoft documentation: ransomware protection in Microsoft 365, Microsoft 365 Backup FAQ, Restore your OneDrive and Restore a shared library. The descriptions of the limitations are our interpretation based on this documentation.

    The one-sentence test: if, after an incident, you need to quickly restore the data of multiple users at once to the state at a specific point before the attack, you need a backup, not just a recycle bin and retention.

    Retention is not backup

    Retention answers the question, “does this data still exist?”. Backup answers the question, “how quickly can I restore it to where it was, to its pre-incident state?”. Microsoft explicitly notes that legal holds retain data, but are optimised for export rather than bulk restoration.

    Disaster recovery is not backup

    A disaster recovery copy protects against a data centre outage. According to Microsoft it retains the current state of content rather than historical versions from earlier points in time. If ransomware encrypts files, replication will faithfully transfer the encrypted state.

    Scenario: a ransomware attack on Microsoft 365 step by step

    Consider a company with 200 employees. An attacker compromises the computer and account of an employee who has access to several SharePoint sites. Ransomware encrypts files on the drive, and the OneDrive client synchronises the encrypted versions to the cloud, including SharePoint libraries. Some originals are deleted, while messages disappear from several mailboxes.

    Recovery without backup

    • Files encrypted in place: version history records every edit, so previous versions exist, but this recovery method does not scale well during a major attack, and versions may be exhausted, if the administrator has set a low limit.
    • Files deleted and replaced with encrypted copies: the originals remain in the recycle bin for 93 days, but they must be located and restored.
    • Rolling back entire libraries: the OneDrive or SharePoint library restore feature works within a 30-day window, separately for each account and library.
    • Email: deleted messages can be recovered by default for up to 14 days (up to 30 after changing the settings), separately in each mailbox.

    The result: dozens of manual operations, uncertainty over whether everything has been restored, and the risk that an incident discovered after several weeks will fall outside the recovery windows.

    Recovery with backup

    1. Isolate the threat. Suspend compromised accounts, reset passwords and force reauthentication, then remove suspicious mailbox rules and email forwarding. Microsoft describes these steps in the guides Responding to ransomware attacks and Responding to a compromised email account.
    2. Determine the scope and timing of the attack. Identify which accounts, sites and mailboxes were affected, and when encryption began.
    3. Select a restore point from before the attack. In Microsoft 365 Backup entire OneDrive accounts and SharePoint sites from the last two weeks can be restored to a point in time accurate to within 10 minutes. For Exchange Online mailboxes, the maximum data loss (RPO) is also approximately 10 minutes.
    4. Restore data in bulk. Instead of working through files one by one, the administrator can restore multiple OneDrive accounts, sites and mailboxes in bulk. A OneDrive account can be restored to its original or a new URL.
    5. Verify and document. Confirm with data owners that everything has been restored, and document the incident. This documentation will be useful for reporting and audits.

    The difference is not whether the data can be recovered at all, but how quickly, how completely and with how much effort. After an attack, every hour of downtime matters.

    Backup is the last line of defence. The first is properly configured identity and device security, which we cover in the article Microsoft 365 Business Premium and cybersecurity in 2026.

    Frequently asked questions

    Are the recycle bin and version history enough?

    For everyday mishaps, yes. If a user deletes a file or overwrites a document, the recycle bin (93 days) and version history are usually more than sufficient. In an incident affecting many accounts at once, scale becomes the issue: restoration must be performed separately for each file, OneDrive account or library, and version history may be exhausted when the version limit is low.

    How do I recover a deleted mailbox or OneDrive account?

    It depends on how much time has passed since the account was deleted and whether the company has a backup:

    • Up to 30 days: the account is in a soft-deleted state. Simply restore the user in the Microsoft 365 admin centre, and the mailbox and OneDrive account are restored with it.
    • OneDrive after account deletion: by default, it is retained for 30 days. The administrator can change this period in the SharePoint admin centre to between 30 and 3650 days, and the deleted user’s manager is granted access to the files by default. After the retention period ends OneDrive is moved to the site collection recycle bin for 93 days, from which it can only be restored using PowerShell. However, a long retention period does not mean free storage: an unlicensed OneDrive account is automatically archived on day 93 (archiving is chargeable), and after 12 months of unpaid storage, the data may be deleted regardless of retention settings.
    • Mailbox after permanent account deletion: without a backup, it can only be recovered if it was subject to a hold or retention policy before deletion and became an inactive mailbox.
    • With Microsoft 365 Backup: after the user is deleted from Microsoft Entra ID a copy of their OneDrive account or mailbox is retained for one year from the date it was created.

    Therefore, the offboarding process should include reviewing and moving important files from a departing employee’s OneDrive account to team locations.

    Is retention the same as backup?

    No. Retention ensures that data is not deleted before a specified date, which is important for regulatory compliance and legal proceedings. Backup enables data to be restored quickly to its original location, in its pre-incident state. The two functions complement each other, but neither replaces the other.

    What can be restored after a ransomware attack?

    Using built-in tools: previous versions of files, files from the Recycle Bin, the state of entire OneDrive accounts and SharePoint libraries from the last 30 days (provided the files have not been deleted from the site collection Recycle Bin), and deleted messages from the last 14 days, or up to 30 days after changing the settings. Microsoft 365 Backup covers OneDrive, SharePoint and user and shared mailboxes, but not resource mailboxes (rooms) or groups. Third-party solutions differ in scope, so before purchasing, it is worth checking which services and data types they cover.

    How do you choose a backup solution for Microsoft 365?

    You can choose the native service Microsoft 365 Backup or partner solutions, such as AvePoint Cloud Backup or Veeam Backup for Microsoft 365. Before comparing prices, check a few things:

    1. Recovery point objective (RPO) and recovery time objective (RTO). How often recovery points are created and how long it will take to restore, for example, 200 accounts.
    2. Bulk and granular recovery. Whether entire sites and mailboxes can be restored in bulk, as well as individual files or messages.
    3. Data coverage. Exchange, OneDrive, SharePoint, Teams and, where needed, other SaaS services.
    4. Backup retention period. Whether it meets legal requirements and covers the period after which incidents are typically detected.
    5. Backup resilience. Immutability, isolation from the production tenant and separate administrative permissions, as attackers often attempt to delete or encrypt backups as well.
    6. Recovery performance. Microsoft warns that some solutions merely copy data to another location and may not deliver the performance required after a ransomware attack. Ask the provider whether it uses the Microsoft 365 Backup Storage platform or how quickly it can restore data at scale.
    7. Testing and reporting. A backup that nobody has tested is only an assumption. Regular recovery tests and reports are also useful for auditors.

    Microsoft 365 a NIS2 Backup

    For many businesses, backup is no longer solely an IT department decision. The amendment to the Act on the National Cybersecurity System came into force on 3 April 2026, and essential and important entities have one year to implement an information security management system. Business continuity, including backup management and disaster recovery, is among the obligations of entities covered by the Act. If company data is stored in Microsoft 365, its recovery plan should form part of this documentation.

    How can Senetic help?

    If you do not know how long it would take your organisation to recover Microsoft 365 data after an attack, start with a recovery readiness assessment.

    Senetic supports organisations with:

    • assessing what is currently protected by the built-in Microsoft 365 mechanisms and where the gaps are,
    • defining realistic requirements: how much data the company can afford to lose and how long downtime can last,
    • selecting a backup solution (Microsoft 365 Backup, AvePoint, Veeam) that matches the scale, budget and NIS2 requirements,
    • organising permissions and data structures, because the more orderly they are, the faster recovery will be (more in the article Copilot sees too much: 7 steps to secure data before deploying AI),
    • preparing a recovery procedure and a plan for regular testing.

    Want to check whether your data in Microsoft 365 can be recovered quickly? Contact Senetic. We will conduct a recovery readiness assessment and select a backup solution tailored to your organisation.

    Microsoft 365 is designed so that a data centre failure does not mean data loss, but it will not reverse the effects of an attack, administrator error or sabotage for you. The Recycle Bin, version history and retention are a good first layer of protection. Backup enables you to return quickly to the pre-incident state after a serious incident, rather than restoring data manually for days. Find more advice, analysis and news in the Cloud and Microsoft category on the Senetic blog.

     

    🚀 Would you like to learn more about Microsoft solutions? Our team of experts will be happy to answer your questions and help you choose the best solution:

    📞 +48 32 420 92 45

    📧 [email protected]

    You are also welcome to visit our website, where you can find more product information. Explore and find out more: MICROSOFT

    To receive expert content on the Microsoft offering, current promotions and free webinars delivered by Senetic, subscribe to our newsletter: NEWSLETTER.

    Share.
    Marcin Hałas

    Microsoft Solutions Marketing Specialist I have been working in marketing for years, where I strive to combine an analytical approach with creative thinking. I specialize in creating and optimizing advertising campaigns. I thrive where strategy meets creativity. After work, I spend my time actively training football, cycling, or at the gym.