Raspberry Pi: Using rdiff-backup with my automated Python script

So you’ve followed my Raspberry Pi: Publicly accessible file server and you want to be a bit smarter on how you back up your data. People tell you to back up your data all the time, and you’re probably like me and grunt at the thought of the manual burden of physically copying and pasting your data. Do you want your backup to be automated? Do you want to be able to retrieve older revisions of your files? …

Read more

Raspberry Pi: Using rsync with my automated Python script

So you’ve followed my Raspberry Pi: Publicly accessible file server and you want to be a bit smarter on how you back up your data. People tell you to back up your data all the time, and you’re probably like me and grunt at the thought of the manual burden of physically copying and pasting your data. Do you want your backup to be automated? Do you want to choose the files and folders that you want to …

Read more

Raspberry Pi: Map a Network Drive

You’ve configured your external hard drive to be accessed within your LAN to start sharing your files, but wouldn’t it be easier to have that drive automatically mounted on other clients within the network at startup, and easily addressed via drive letters? What I mean is instead of typing your RPi’s IP address and Samba share name within Windows Explorer’s address bar, you can just access it like any other attached device in the left …

Read more

Raspberry Pi: Install and configure No-IP on Raspberry Pi

No-IP enables you to address your Raspberry Pi publicly by hostname rather than IP address. For example, when accessing your machine via SSH from outside your LAN, it’s difficult to remember your public IP. So intead No-IP allows you to create your own easy to remember domain, and assign it to your IP address. This is heavily documented elsewhere on the web. You can check out the official guide here by No-IP themselves, but this includes a neater startup …

Read more

Raspberry Pi: Installing Raspbian

Required equipment In terms of equipment, you will need the following: 1x SD Card I’m using SanDisk Extreme 16GB Class 10 More information about compatible cards and other information can be found here. 1x Raspberry Pi I’m using the Rev 2.0 Model B w/ 512MB RAM 1x HDMI cable 1x Ethernet cable plugged into your LAN However I’m using the TP-LINK TL-WN725N USB Wireless Adapter which works quite well. 1x compatible keyboard 1x Powered external hard drive I’m …

Read more

Raspberry Pi: network file sharing with samba

This post will demonstrate how you can share files from your RPi, to all your Windows machines that are within your LAN. Start off by updating your repositories and currently installed packages: sudo apt-get update && sudo apt-get upgrade Then progress to install samba, along with samba-common-bin. samba-common-bin will provide you with the testparm utility, that checks your smb.conf file for errors in used syntaxes. This may take a while… sudo apt-get install samba samba-common-bin …

Read more

Raspberry Pi: Configure static IP address and enable local remote access via SSH

It’s worth noting for this tut that you’ll notice I’m configuring my static IP via Putty, which obviously means I’ve previously configured my static IP. I’m just going through the process again but from my Desktop, as screenshots are far easier to manage from here. Configuring a static IP First off, boot up your Raspberry Pi and connect it to your LAN via Ethernet. Type the below command; this will produce your RPi’s network adapter’s …

Read more

A comparison of rsync vs. rdiff-backup

Abstract rsync and rdiff-backup are both incremental solutions, so only the differences in files from source to destination are transferred, not the entire source. rdiff-backup is more CPU intensive than rsync because it SHA-1 checksums everything it encounters[1][2], so if a hash of a file in the destination directory is different to the source file, it then calculates what the differences are between the two and pings them over. rsync, however, is super quick. It doesn’t checksum …

Read more

Raspberry Pi: Publicly accessible file server

Want to make your Raspberry Pi a home file server to centrally store all your media files? And you want to make it publicly accessible? Read on. Want to make your Raspberry Pi a web dev server instead? Click here. I’m open to suggestions or alterations for this post as I appreciate there may be some flaws in my set up, so feel free to share your thoughts. Cloud storage vs. Home storage You can’t beat …

Read more