Skip to content

Raspberry Pi Offsite Data Backup - Resilio Sync Data Node

Notifications You must be signed in to change notification settings

PatrickMurray/offsite-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Offsite Backup

Author: Patrick Murray

The objective of this repository is to setup an encrypred Resilio Sync replication node with system monitoring tolling. Such replication nodes may be deployed off-site to increase availability for targetted datasets.

Stack

Hardware:

  1. Raspberry Pi 4 Model B, 8GB
  2. Samsung Evo Select MicroSD Card, 32 GB
  3. Seagate Backup Plus Hub, 8TB

Software:

  1. Raspberry Pi OS Lite
  2. Ansible
  3. Resilio Sync on Linux
  4. Grafana Cloud

Replication Node Setup

Boot Medium Imaging

Navigate to the Raspberry Pi OS website and select "Raspberry Pi OS Lite" - a ZIP archive should begin downloading. Next, extract the ZIP archive using unzip(1) and burn the image file (.img) to the boot medium using dd(1). For example:

unzip Downloads/2022-01-28-raspios-bullseye-armhf-lite.zip
root $ dd if= 2022-01-28-raspios-bullseye-armhf-lite.img of=/dev/sda

Note: The boot medium path (i.e. /dev/sda) may be determined using lsblk(8).

TODO - Below documentation.

Image Configuration

Enable SSH Service

Mount micro SD

root $ mkdir /mnt/pi
root $ mount BOOT_PARITION /mnt/pi

Initial Host Configuration

Change Default Credentials

Boot up the Raspberry Pi

Username: pi Password: raspberry

Change password with passwd

Copy SSH public key

ssh-copy-id pi@192.168.0.81

Ansible Configuration Management

ansible-playbook --ask-vault-pass remote.yml

About

Raspberry Pi Offsite Data Backup - Resilio Sync Data Node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published