Skip to content
PrivateAI
← Back to Home
tool reviews

How to Set Up Nextcloud as a Private Google Drive Replacement

7 min readBy PrivateAI Team

Every file you store on Google Drive exists on Google's servers. Google holds the encryption keys and can access your files at any time — for ad targeting, AI training, or law enforcement compliance. They state in their terms that they scan files for "violations" and can terminate access to your account. Your most personal documents, financial records, and family photos are stored on hardware you do not own, protected by policies you did not negotiate.

Nextcloud is the open-source alternative: a self-hosted cloud platform that gives you Google Drive, Google Calendar, Google Contacts, and Google Docs — running on hardware you control. Your files never leave your possession.

Here is how to set it up, what to expect, and whether it is worth the effort.

What Nextcloud Provides

Nextcloud is not just file storage. It is a complete collaboration platform:

  • Files: Upload, sync, and share files across all your devices — identical functionality to Google Drive
  • Calendar: CalDAV calendar that syncs with your phone and computer
  • Contacts: CardDAV contacts that sync across devices
  • Office documents: Built-in Nextcloud Office (based on LibreOffice) for editing documents, spreadsheets, and presentations in the browser
  • Photos: Automatic photo backup from phone (like Google Photos)
  • Talk: Video/audio calling and chat (like Google Meet)
  • Notes: Simple note-taking that syncs across devices
  • Bookmarks, tasks, recipes, passwords — through a rich app ecosystem

All of this runs on a server you control — a mini PC in your closet, a Raspberry Pi, or a rented VPS from a privacy-respecting hosting provider.

The Three Setup Options

Option 1: Home Server (Maximum Privacy)

What you need:

  • A mini PC ($150-300) or old computer with 4GB+ RAM and 500GB+ storage
  • Ubuntu Server or similar Linux distribution
  • Your home internet connection
  • A domain name ($10-15/year) for remote access

Pros: Complete control. Your data never leaves your home. Zero monthly hosting fees.

Cons: Your internet upload speed limits remote access performance. If your power or internet goes down, your cloud goes down. Requires basic Linux comfort.

Best for: Privacy maximalists who want zero third-party involvement.

Option 2: VPS Hosting (Best Balance)

What you need:

  • A VPS (Virtual Private Server) from a privacy-respecting host ($5-15/month)
  • Recommended hosts: Hetzner (Germany), OVH (France), Njalla (Sweden)

Pros: Professional-grade uptime and bandwidth. Accessible from anywhere at full speed. No impact on your home internet. Easier to set up than a home server.

Cons: Your data is on someone else's hardware (the hosting provider). Monthly cost. The hosting provider could theoretically access your data unless you encrypt at rest.

Best for: Most people. The balance of convenience, performance, and privacy is excellent.

Option 3: Managed Nextcloud Hosting (Easiest)

Several companies offer pre-configured Nextcloud hosting:

  • Hetzner Storage Share (€3.49/month for 1TB) — German data privacy laws, excellent value
  • Webo.hosting — Nextcloud-specific hosting
  • Various providers listed at nextcloud.com/providers

Pros: Zero setup required. Login and start using immediately. Automatic updates and backups.

Cons: Less control. You trust the hosting provider. Slightly more expensive than self-hosting on a VPS.

Best for: People who want Nextcloud without any server management.

Setup Guide: VPS Method (30-45 Minutes)

This is the method we recommend for most people.

Step 1: Rent a VPS (5 minutes)

Sign up at hetzner.com. Choose a cloud server:

  • CPX11 (2 vCPU, 2GB RAM, 40GB storage): €4.85/month — sufficient for 1-3 users
  • Add a volume for storage: 100GB for €4.35/month (or more as needed)

Total: approximately €9-15/month ($10-17 USD) for a fully functional private cloud.

Step 2: Install Nextcloud (15 minutes)

SSH into your new server and install using the Nextcloud snap package (simplest method):

```bash

sudo apt update && sudo apt upgrade -y

sudo snap install nextcloud

```

Or use the Nextcloud All-in-One Docker container (more features, slightly more complex):

```bash

sudo docker run \

--sig-proxy=false \

--name nextcloud-aio-mastercontainer \

--restart always \

--publish 80:80 \

--publish 8080:8080 \

--publish 8443:8443 \

--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config \

--volume /var/run/docker.sock:/var/run/docker.sock:ro \

nextcloud/all-in-one:latest

```

Step 3: Connect a Domain (10 minutes)

Point a domain (e.g., cloud.yourdomain.com) to your server's IP address via a DNS A record. Nextcloud will automatically set up HTTPS with a Let's Encrypt SSL certificate.

Step 4: Create Your Account (5 minutes)

Visit your domain in a browser. Create an admin account. Nextcloud is now running.

Step 5: Install Mobile and Desktop Apps (5 minutes)

  • iOS/Android: Install "Nextcloud" from your app store
  • Mac/Windows/Linux: Install the Nextcloud desktop client from nextcloud.com/install
  • Configure auto-upload for photos (replaces Google Photos backup)
  • Set a sync folder on your computer (replaces Google Drive sync)

Migrating From Google Drive

Step 1: Download Your Google Data

Go to takeout.google.com. Select "Drive" (and any other Google services you want to export). Google will create a downloadable archive of all your files.

Step 2: Upload to Nextcloud

Upload the exported files to your Nextcloud instance through the web interface or by placing them in the sync folder on your desktop.

Step 3: Switch Sync on Your Devices

  • Remove Google Drive sync from your computer
  • Add Nextcloud sync in its place
  • On your phone, disable Google Photos auto-backup and enable Nextcloud auto-upload

Step 4: Transition Period

Keep Google Drive active for 1-2 months while you verify everything is working on Nextcloud. Once you are confident, reduce your Google Drive storage plan and eventually close it.

You do not have to delete Google. Many Nextcloud users keep a free Google account for non-sensitive content and use Nextcloud for everything private — financial documents, medical records, personal photos, tax returns, legal files.

What Nextcloud Does Well

  • File sync is rock-solid. Desktop and mobile clients work as reliably as Google Drive.
  • Photo auto-upload from phone works seamlessly — your photos are backed up to your server instead of Google.
  • Sharing is excellent — share files and folders via link with password protection, expiration dates, and view-only restrictions.
  • Calendar and contacts sync perfectly with iPhone (CalDAV/CardDAV) and Android.
  • The app ecosystem is extensive — 300+ apps for everything from password management to video conferencing.

What Nextcloud Does Not Do Well

  • Office document collaboration — Nextcloud Office works but is not as smooth as Google Docs for real-time multi-user editing. For intensive collaboration, Google Docs or Microsoft 365 is still better.
  • Search — full-text search requires additional setup (Elasticsearch plugin) and is not as fast or comprehensive as Google's search.
  • Mobile app polish — the Nextcloud mobile apps are functional but not as refined as Google's apps. Navigation, photo viewing, and file management feel slightly dated.
  • Upfront complexity — the initial setup requires more effort than signing up for Google Drive. Once running, maintenance is minimal — but you need to get through the setup.

The Cost Comparison

| | Google Drive | Nextcloud (VPS) | Nextcloud (Managed) |

|---|---|---|---|

| 100GB storage | $2/month | $10-12/month | €3.49/month (1TB!) |

| 2TB storage | $10/month | $15-20/month | €8-12/month |

| Who has your data | Google | You (via hosting provider) | Hosting provider |

| Encryption keys | Google holds them | You hold them | Provider may hold them |

| AI training use | Possible (per TOS) | Impossible (your server) | Depends on provider |

| Account termination risk | Yes (Google can close accounts) | No (your server) | Low |

The price gap is real. Google Drive is cheaper for small storage amounts. The privacy premium for Nextcloud is $5-15/month. Whether that is worth it depends on how much you value controlling your own data.

Encrypt the connection to your cloud

Your self-hosted Nextcloud protects file storage. NordVPN encrypts the connection between your devices and your server — preventing anyone from seeing what you upload, download, or access.

Learn More

Key Takeaways

  • Nextcloud is a self-hosted Google Drive replacement — files, calendar, contacts, photos, and documents
  • Three setup options: home server (max privacy), VPS (best balance), managed hosting (easiest)
  • VPS setup takes 30-45 minutes and costs $10-17/month for a fully functional private cloud
  • Migrate from Google Drive using Google Takeout — download everything and re-upload to Nextcloud
  • File sync and photo backup are excellent and reliable
  • Office document collaboration is functional but not as smooth as Google Docs
  • The privacy premium vs Google Drive is $5-15/month — the price of controlling your own data
  • You can keep Google for non-sensitive content and use Nextcloud for everything private

Get The Private Intelligence — weekly

Self-hosting guides, privacy tools, and AI workflow tips for people who own their data. Join 1,000+ readers.

Affiliate Disclosure: This article may contain affiliate links. If you make a purchase through these links, we may earn a small commission at no extra cost to you. We only recommend products we genuinely believe in. This helps support our work and allows us to continue providing free content.