Skip to content

Google Workspace Migration Guide 🟑 BETA

This guide describes what can and cannot move from Google Workspace to a self-hosted General Bots deployment.

The desktop guide map: Chat and Drive, the four engines, settings and help

Overview

Capability What ships
Surfaces Chat and Drive only in the government edition (apps=chat,drive)
Engines On this computer, own server or key, free model, subscription agent
Data Local engine keeps text on the machine; other engines are chosen explicitly
Install Offline installer with SHA-256 checked assets in botserver-installers/
Version 7.1.2 from the root Cargo.toml

Service Mapping

Google Workspace service General Bots counterpart
Gmail Stack mail server (Stalwart) in a self-hosted deployment
Drive Bot .gbdrive/ and .gbkb/ prefixes in OtterIO buckets
Directory Zitadel in the full product; local administrator in the desktop edition
Docs / Sheets Documents imported into Drive and used in chat

Migration Steps

  1. Export mail, files and directory data from the source tenant.
  2. Keep the export under /tmp and classify each artifact.
  3. Copy documents into the bot Drive bucket with oc.
  4. Configure mail and identity outside the repository.
  5. Verify access and one chat answer from an imported document.

1. Email Migration (Gmail)

Export through the provider tools. The stack mail server accepts the imported messages; no mailbox converter is shipped here.

2. File Migration (Google Drive)

Use oc with credentials from secret/gbo/drive. Documents for answering go into .gbkb/; user files go into .gbdrive/.

3. User Migration (Google Directory)

In the full product users live in Zitadel; the government desktop edition uses the administrator created by the first-run wizard.

Google-Specific Challenges

Challenge Handling
Export format differs from the source app Convert outside the repository, then verify the file opens
Large attachments Split the transfer and check each checksum
Shared resources Recreate ownership explicitly in Drive

Format Conversion

Convert to common document formats before import; no format converter is maintained in this codebase.

API Quotas

Export quotas are provider-side; the local import has no vendor API dependency.

Data Takeout

Keep the takeout archive outside the repository and delete it only after verification.

Tools and Utilities

Provider export tools plus oc for Drive. No Google-specific utility is committed here.

Google Admin Tools

Use the provider console for the export; no credential is stored in this book.

Got Your Back (GYB)

A third-party exporter may be used by the operator; it is not part of this repository.

rclone Configuration

If a remote copy is used, configure it outside the repository and verify checksums after transfer.

Common Issues

Symptom Check
Missing files Export scope and bucket prefix
Failed chat answer Document is in .gbdrive/ instead of .gbkb/
Sign-in fails Identity provider or local administrator state

Large Attachments

Transfer in small batches and verify each file after copy.

Shared Resources

Grant access again in the target system; permissions are not carried over by oc.

Google Photos

Media is not part of the Chat and Drive edition; keep it in the source archive unless a separate workflow needs it.

Migration Strategy

Move in phases: documents first, then mail, then identity. Keep a hybrid period until answers are verified.

Phased Approach

Complete one category at a time and record evidence per phase in an issue.

Hybrid Period

Keep the source tenant readable until validation passes.

Data Validation

Ask questions whose answers come from imported documents and compare with the source.

Post-Migration

Update DNS and user instructions, then verify health and one chat turn.

User Training

Teach the four engines and the privacy line in Settings; see Choose where your words go.

Feature Gaps

The desktop edition is Chat and Drive; office and collaboration apps are not part of it.

Maintaining Archive Access

Keep the export and the source tenant read-only until the archive is no longer needed.

Cost Factors

Costs are hardware plus any external engine; no vendor price is published here.

Google Workspace Pricing

Provider-side; not restated in this book.

Data Export Costs

Provider-side; keep the export local.

Timeline Estimates

No duration is promised: it depends on data volume and verification results.

Best Practices

Export first, keep secrets out of files, and verify each phase with evidence.

Next Steps

Read Common Migration Concepts and Validation.

Limits

  • No automated Google Workspace migration tool exists in this repository.
  • No price, date or API quota is stated as a fact about General Bots.
  • The desktop edition cannot replace every Workspace service.