Google keeps Google Workspace running, but the 25-day and 20-day recovery windows in the Admin console are the only native undo for data your users, an attacker or a sync error deletes. Google Vault holds data for legal purposes, and Google states plainly that it is not designed as a backup or archive tool. This guide shows how to build and test a real backup for Gmail, Drive, shared drives and tenant settings: what the native recovery and export tools do and where they stop, how to design a backup that sits outside the tenant's blast radius, how to run and score a restore test, and how to keep the backup's own access from becoming the biggest risk in the tenant. It is for Workspace administrators, IT operations and resilience leads. Choosing a backup product is covered in the SaaS Backup Buyer's Guide; this page is about doing the backup and proving the restore.
This is an independent guide from NHI Mgmt Group, based on Google's public Workspace documentation as of November 2026. It is not sponsored or reviewed by Google. Product features change, so confirm settings against Google's current documentation.
Key takeaways
- Native recovery is short. Admins can restore Drive and Gmail data deleted within the last 25 days, shared drives deleted within 25 days, and a deleted user within 20 days. Anything older needs a copy you hold.
- Vault is not a backup. Google says Vault "isn't designed to be a backup or archive tool" and has no automated recovery tools, and deleting a user removes that user's data from Vault.
- The data export tool is a snapshot, not a schedule. It needs a super admin with 2-Step Verification, takes typically about 72 hours and up to 14 days, and its Google-provided bucket is deleted 60 days after the export begins.
- Restore is the test that matters. Score backups on restore time, fidelity (sharing, labels, folder paths) and completeness, not on job success.
- The backup identity is a crown jewel. Most backup tools read every mailbox and drive through a service account with domain-wide delegation; protect and monitor it as tightly as a super admin.
What Google restores natively, and for how long
Under the shared responsibility model Google runs the service and you own your data and its configuration. Before designing anything, know exactly what the Admin console can undo.
| Scenario | Native option | Window | Limits that matter |
|---|---|---|---|
| User emptied Drive trash | Directory > Users > More options > Restore data, Application: Drive | 25 days after the trash was emptied | Restores everything in a date range, not chosen items; one restore project at a time; users must reshare restored items |
| Gmail messages deleted | Same Restore data flow, Application: Gmail | 25 days | Same date-range approach |
| Shared drive or its trash emptied | Apps > Google Workspace > Drive and Docs > Manage shared drives > Restore | 25 days (the drive stays listed as deleted for 30) | Needs the Drive & Docs administrator privilege; the 25-day limit applies even when Vault retention is set; a second restore cancels one of them |
| User account deleted | Directory > Users > Recently deleted users > Recover | 20 days | Super admin only; a licence must be available; can take up to 24 hours and rarely up to 5 days |
| Data under a Vault retention rule or hold | Search and export in Vault | As long as the rule or hold applies | Exports are for discovery; no restore into Gmail or Drive; Drive exports are not separated by account |
| Admin console settings changed | None; Admin log events show the old and new value | History only | Re-apply by hand or by API |
Two details catch teams out. First, the Drive restore cannot recover data still in the user's trash, Google My Maps files, or data that would push the user or organisation over a storage limit, where the restore stops. Second, the Drive and shared drive restores work by date range, so a time zone difference between you and the deleting user can miss data: Google advises widening the range by a day on each side.
The data export tool: when to use it
The organisation-wide data export tool exports the same data as Google Takeout plus admin-only data such as Vault-retained data (with Vault licences) and customer-owned data, including shared drives. It is useful as a one-off snapshot, for example before a tenant migration, a divestiture or the deletion of a large group of accounts, but it is not a backup system. Facts from Google's page:
- Who: a super admin account at least 30 days old (unless the organisation is newer), with 2-Step Verification on. Organisations with more than 1,000 users or FedRAMP authorisation should contact Google support first.
- Coverage: active, suspended and archived users and Vault Former Employees. Accounts created in the 24 hours before the export and deleted data not held by Vault are not exported.
- Timing: available no earlier than 48 hours after it starts, typically about 72 hours, up to 14 days. It cannot be cancelled from the Admin console, and if the initiating account loses super admin rights the export may be cancelled.
- Storage: a temporary Google-provided Cloud Storage bucket (United States, Europe or no preference) deleted 60 days after the export begins. Longer retention in a customer-owned bucket needs Assured Controls or Assured Controls Plus. Download within the window.
- Editions: organisations on Enterprise Plus, Education Plus or with Assured Controls are directed to the "Choose the Workspace data you want to export" process.
- Re-import: Vault's FAQ notes that Google has no tool to bulk import MBOX files. A snapshot you cannot load back quickly is evidence, not recovery.
Designing the backup
A Workspace backup is a separate copy of mail, Drive, shared drives, calendars and contacts, plus a record of settings, held outside the tenant and restorable at item, user and drive level. The design decisions are below.
| Decision | Options | Choose based on |
|---|---|---|
| Scope | All users and shared drives; or by organisational unit | Back up everything by default and exclude by exception; new users and shared drives should be picked up automatically |
| Method | Third-party backup service; self-built scripts on the Gmail and Drive APIs; periodic data exports | Restore needs: item-level restore with sharing intact usually needs a dedicated tool. Scripts suit small tenants with engineering time |
| Frequency | Several times a day; daily; weekly | Your recovery point objective. Daily is a common minimum for mail and Drive |
| Retention | 30 days to years | Well beyond the 25-day native window, aligned to your retention policy and legal advice. See Backup Retention Design |
| Location and immutability | Vendor cloud; your own storage with object lock | Data residency rules, and whether a compromised Workspace super admin can delete backups. They should not be able to |
| Leavers | Keep backups after licence removal; Archived User licence; Vault | Deleting a user removes their data from Workspace and Vault, so confirm the backup keeps it for your retention period |
Self-built backups: the Drive API's files.export method converts Google Docs, Sheets and Slides into other formats but limits exported content to 10 MB, so large native files need another route. Check whether comments, version history and sharing are captured, because a converted file on its own may not carry them. Budget for this before choosing scripts over a product.
Small and large tenants: a 20-user organisation can rely on a backup service with daily jobs and a quarterly restore test. A large tenant needs throughput planning (Google API quotas apply to every backup method), organisational unit scoping, separate restore operators, and evidence for auditors. The 3-2-1-1-0 Backup Rule applies to SaaS too: the "1 immutable or offline copy" is the one that survives a tenant takeover.
Settings are data too
Organisational units, groups, sharing policies, Gmail routing, SSO, 2-Step Verification enforcement and the domain-wide delegation list are not in any data backup. Google provides audit history and APIs rather than a settings snapshot, so export settings to a versioned store on a schedule and keep it with the data backup. The method, including CISA's ScubaGoggles and the restore order for settings, is in SaaS Configuration Backup and Recovery.
Step-by-step: set up and prove the backup
- Write the requirement. Record recovery point and recovery time objectives for mail, Drive and shared drives, retention, and data residency. Get sign-off from the data owner.
- Inventory what exists. Count users by state (active, suspended, archived), shared drives, total Drive and Gmail storage, and which users hold the most data. This sizes the first full backup and later restore tests.
- Create the backup identity with least privilege. If the tool uses domain-wide delegation, grant only the read scopes it needs for backup, and add write scopes only if you need restore into the tenant. Record the client ID, scopes and owner. See How to audit Google Workspace domain-wide delegation grants.
- Protect the backup console. Enforce phishing-resistant MFA and SSO for backup admins, keep a small admin group separate from Workspace super admins, and turn on immutability or delayed deletion.
- Run the first full backup and watch it. Expect it to take days for large tenants. Check coverage reports for skipped users, shared drives and file errors.
- Automate coverage. Confirm new users and shared drives are added automatically, and alert when a user or drive is excluded.
- Run a restore test (next section) before calling the backup live.
- Document roll back. For restores into the tenant, restore to a separate folder or a test account first, so a wrong restore never overwrites current data.
Running a restore test
Run a small test monthly and a full scenario test at least twice a year. Use sample accounts and sample data for the first tests, then a real user's data with consent.
| Test | What to restore | Pass criteria |
|---|---|---|
| Single item | One email and one Drive file deleted 40 days ago (beyond the native window) | Restored to the right place within the agreed time; contents identical |
| Folder with sharing | A shared Drive folder with nested folders | Folder paths intact; you know whether permissions came back or must be reshared |
| Shared drive | A whole shared drive | Members, files and structure restored; time recorded |
| Leaver | Mailbox and Drive of a user deleted more than 20 days ago | Data restored to another account or exported in a usable format |
| Ransomware or mass deletion | Point-in-time restore of one user's Drive to before a set time | Only the clean versions restored; no overwrite of newer good files |
| Settings | A changed sharing policy and a group membership | Re-applied from the settings record and confirmed in Admin log events |
Record each test with date, scope, time to restore and issues found. A test that "worked" but took three days for one user is a fail if your recovery time objective is a day. See the Backup and Recovery Testing Checklist.
Where identity fits
The backup tool's service account can typically read every mailbox and every file, and with restore scopes it can write to them. That makes it one of the most privileged non-human identities in the tenant. Keep its scopes to what the tool documents, store any key in a vault or prefer keyless authentication where the tool supports it, alert on new domain-wide delegation grants and scope changes, and include it in quarterly access reviews. If the backup vendor relationship ends, remove the grant on the same day. The wider risk is covered in the Google Workspace Domain-Wide Delegation Security Guide and the Backup Identity Isolation Guide.
Detection and measurement
- Backup coverage: users and shared drives in Workspace compared with those protected in the backup, checked daily.
- Job health: failed or partial jobs, items skipped, and API quota errors, alerted to an owned queue. See Backup Alerting and Monitoring.
- Workspace audit logs: watch Admin log events for changes to domain-wide delegation, data export starts, and mass user deletion; watch Drive log events for unusual bulk deletion. Detection patterns are in the Google Workspace Audit Log Detection Guide.
- Backup console logs: logins, retention changes, deletions and restores, forwarded to your SIEM.
| Metric | Target |
|---|---|
| Users and shared drives covered by backup | 100%, excluding documented exceptions |
| Successful daily backups (last 30 days) | At or above your agreed threshold |
| Restore tests passed against RTO this quarter | All scheduled tests run and passed |
| Oldest restorable point | Matches the retention requirement |
| Backup identity scope changes reviewed | Every change reviewed within a week |
Framework mapping
| Framework | Reference | How this guide supports it |
|---|---|---|
| NIST CSF 2.0 | PR.DS-11; RC.RP-03 | Backups created, protected and tested; integrity checked before restore |
| NIST SP 800-53 Rev. 5 | CP-9, CP-10, CP-4 | System backup, recovery and reconstitution, contingency plan testing |
| CIS Controls v8.1 | Control 11 Data Recovery (11.2, 11.3, 11.4, 11.5) | Automated backups, protected recovery data, an isolated copy, recovery tests |
| ISO/IEC 27001:2022 Annex A | A.8.13 Information backup | Backup copies maintained and regularly tested |
| MITRE ATT&CK | T1485 Data Destruction; T1490 Inhibit System Recovery | Mass deletion in the tenant; attackers deleting backups or removing the backup grant |
Common failure patterns
- Treating Vault as the backup. Vault keeps data for legal holds, cannot restore into Gmail or Drive, and loses a user's data when the user is deleted.
- Deleting leavers before checking backups. After 20 days the account cannot be recovered. Confirm the backup holds the data, or use an Archived User licence, before deletion.
- Backups the tenant admin can delete. If a compromised super admin can also sign in to the backup console, one takeover removes both copies. Separate identities and turn on immutability.
- Coverage drift. New shared drives or organisational units are added but the backup scope is not, and the gap is found during a restore.
- Restoring over good data. A point-in-time restore into the live location overwrites newer files. Restore to a separate location first.
- Over-scoped backup grants. Full write scopes granted for convenience, and never removed after a product change.
Practitioner checklist
- Agree RPO, RTO and retention for Gmail, Drive and shared drives with the data owner.
- Document the native windows (25 days for data, 20 days for users) in the runbook.
- Back up all users and shared drives by default, with automatic pick-up of new ones.
- Keep backups outside the tenant, immutable, with retention longer than 25 days.
- Export tenant settings to a versioned store on a schedule.
- Limit the backup service account's scopes, record its owner, and alert on grant changes.
- Separate backup console admins from Workspace super admins and enforce strong MFA.
- Run monthly item restores and twice-yearly scenario tests, and record times.
- Check backup coverage before deleting any leaver account.
Standards and references
- Google Workspace: Export all your organisation's data
- Google Workspace: Recover deleted files and folders for Drive users
- Google Workspace: Delete or restore a shared drive and its files for your users
- Google Workspace: Restore a recently deleted user
- Google Vault: FAQ
- Google Drive API: files.export
- NIST: Cybersecurity Framework 2.0
- NIST: SP 800-53 Rev. 5
Related NHI Mgmt Group resources: SaaS Backup Buyer's Guide · Google Vault Configuration Guide · SaaS Configuration Backup and Recovery · Google Workspace Security Guide