Digitally, I am deeply integrated into the Google ecosystem. And because of that I’ve been feeling a little paranoid because of posts like this and this. I have been thinking of decreasing my reliance on Google services step by step.
So, when Google discontinued their Unlimited Free Storage plan for Google Photos, I took it as an opportunity to look for a better alternative.
Following are some of the open-source solutions that you can self host and use it as an alternative to Google Photos:
There is another entry which doesn’t exactly fit into this category, But it is helpful for the underlying cause of Backing up your data.
Nextcloud is a suite of client-server software for creating and using file hosting services.
Nextcloud stores your files in conventional directory like structure and you can also access them using WebDAV. Apart from that it also provides vast range of functionalities through its plug and play architecture where you can install variety of Nextcloud Apps that suit your requirements.
Plus, it can be hosted on wide variety of hardware appliances with lots of options.
The Raspberry Pi is a tiny and affordable computer that you can use to learn programming through fun, practical projects.
You have to be living under a rock if you don’t know about these little minions. I already have a Raspberry Pi which I was using for Pi-Hole, Content streaming on local network and lots of other things.
So, let’s dive into how we can setup Nextcloud on Raspberry Pi.
You will need following things before you start:
If you have a smaller SD card than a
3.0 USB drive will help you store your /(root) partition on USB.
There are multiple options to install NextCloud on your Raspberry Pi, But we will cover the easiest one which is to use the NextCloudPi image.
Follow below steps to flash latest image of NextCloudPi on your Raspberry Pi:
Download your NextCloudPi image for RPI.
md5sumof downloaded archive file with the one mentioned on the website.
Extract the archive file.
Install Raspberry Pi Imager to flash downloaded image on your SD card.
- You can also use Etcher if you like.
Steps for using Raspberry Pi Imager
- Open Raspberry Pi Imager.
- Click on Choose OS
- Scroll down and click on
- Select image file that you extracted from the downloaded archive file.
- Click on Choose Storage.
- Select your SD Card.
- Click on Write. (
Note: This will erase all the data on SD Card.)
- Remove the SD card and insert it to the Raspberry Pi. Then connect the Raspberry Pi to your home router with an ethernet cable and power on your Raspberry Pi.
Finding IP Address of Pi
Enabling SSH on Pi
By default SSH access on your Pi will be disabled. You will need to enable it from the webUI of NextCloud. Follow below steps to do so:
If that doesn’t work go to https://
rpi_Address:4443 in your browser.
Export your NextCloudPi passwords to a secure place.
Click on Activate.
Do not Refresh if Activation takes some time. If you do your old passwords will be invalidated.
Note:If you forget to take backup of your password before activating NextCloudPi then go to
https://nextcloudpi/activateto get the password screen again. If you see activation successful message than Congratulations!! You have setup NextCloud on your Raspberry Pi.
Select SSH under Networking from left hand side navigation bar.
Check the Activate box.
Set the username password and click on Apply.
You should be able to login to your Pi using SSH now.
Now that you have your own cloud setup on your local network. What are your inputs on it? Share your ideas on how you are using it in the comments below.