How to Switch from Google Drive to Nextcloud
Comprehensive guide to migrating your files, documents, and collaboration workflows from Google Drive to a self-hosted or managed Nextcloud instance.
Why Switch from Google Drive to Nextcloud?
Google Drive stores all your files on Google’s servers where they can be scanned, analyzed, and potentially accessed by Google or third parties. Nextcloud gives you complete control over your data—host it yourself or with a trusted provider.
Option A: Self-Hosted Nextcloud
Step 1: Choose Your Hosting
VPS Providers (recommended for beginners):
- Hetzner Cloud (~$5/month)
- DigitalOcean Droplets
- Linode
Home Server Options:
- Raspberry Pi 4 (8GB recommended)
- Old desktop computer
- NAS devices with Nextcloud support
Step 2: Install Nextcloud
Using Snap (easiest):
sudo snap install nextcloud
Using Docker:
docker run -d \
-v nextcloud:/var/www/html \
-p 8080:80 \
nextcloud
Manual Installation: Follow the Nextcloud documentation for your server type.
Step 3: Configure SSL
- Point your domain to your server
- Install Certbot for free SSL
- Run:
sudo certbot --nginxor--apache
Option B: Managed Nextcloud
Skip the setup with a managed provider:
- Hetzner Managed Nextcloud
- Disroot
- Various Nextcloud hosting providers
Step 4: Export Google Drive Data
- Go to Google Takeout
- Deselect all products
- Select only “Drive”
- Choose export settings:
- Format: Original or .zip
- Frequency: One-time export
- File size: 50GB (or larger)
- Start export and wait for download links
Step 5: Import to Nextcloud
Via Web Interface:
- Log into your Nextcloud instance
- Click the + button > Upload folder
- Select your Google Drive export folders
- Wait for upload to complete
Via Desktop Sync Client (faster for large amounts):
- Download the Nextcloud desktop client
- Connect to your Nextcloud instance
- Copy extracted Google Drive files to your Nextcloud sync folder
- Wait for sync to complete
Step 6: Install Nextcloud Apps
Enhance functionality with apps:
- Go to your Nextcloud > Apps
- Install essential apps:
- Nextcloud Office (Collabora or OnlyOffice)
- Calendar (for Google Calendar replacement)
- Contacts (for Google Contacts)
- Talk (for Google Meet replacement)
- Notes (for Google Keep)
Step 7: Set Up Sync Clients
Install Nextcloud clients on all devices:
- Desktop: nextcloud.com/install
- Mobile: App Store / Google Play
- File Manager: Use WebDAV in your OS file manager
Step 8: Migrate Collaborators
If you share files with others:
- Create accounts for collaborators on your Nextcloud
- Share folders using Nextcloud’s sharing feature
- Or use public links with passwords for external sharing
Step 9: Clean Up Google Drive
Once migration is complete:
- Verify all files are in Nextcloud
- Remove files from Google Drive
- Consider keeping Google account for legacy access
- Or delete via Google Account settings
Troubleshooting
Upload speed is slow: Use the desktop sync client instead of web upload.
File format issues: Google Docs format needs to be exported as .docx/.xlsx first.
Storage running out: Expand your server storage or consider external storage mounts.
Office documents not editing: Install Collabora or OnlyOffice integration.
What’s Next?
- Set up automatic backups for your Nextcloud
- Enable end-to-end encryption for sensitive folders
- Connect calendar and contacts to replace Google Calendar
- Explore the Nextcloud app ecosystem