Menu

Run Your Own Private Cloud: Nextcloud on Docker with Backups
📰

Run Your Own Private Cloud: Nextcloud on Docker with Backups

DEV Community: docker·Артем Ахмадеев·7 days ago
#MBd7G1JE
#devtodocker#devto#dev#backup#nextcloud
Long article (1225 words) — no AI summary yet.
Reading 0:00
15s threshold

Cloud storage is convenient, but your files live on someone else's servers, under someone else's rules and pricing. Free tiers fill up quickly, and handing personal documents, photos and backups to a third party is a trade-off many developers would rather avoid.

In this guide we build a private Nextcloud backed by PostgreSQL, running in Docker on your own VPS. It restarts automatically after a reboot, stays off the public internet and is reached through an SSH tunnel. We also test file sync over WebDAV and set up a nightly backup job. Self-hosting gives you full control over your data, predictable costs and a setup you can fully understand and reproduce.

What you need

A VPS with Ubuntu 24.04 (2 vCPU / 4 GB RAM is plenty). I use VDSina (affiliate link — it supports the channel at no extra cost to you) .

An SSH connection to it (any terminal works).

Short on time?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.