blue-ox.nl From coffee-fueled fruity tech to fast runs—think different, let’s run them.

CategorySynology NAS

Raspberry Pi System Backup: A Complete Guide

R

Introduction This guide details a robust backup solution for Raspberry Pi systems, featuring Docker container management, service handling, and smart retention policies. The solution uses rsync over SSH to create efficient, incremental backups to a Synology NAS. Core Features & Technical Analysis Service and Container Management # Smart handling of critical services CRITICAL_SERVICES=(...

Back-Up of Synology NAS Shared Folders to external Raspberry Pi with attached USB HDD

B

#!/bin/bash # Backup Configuratie BACKUP_KEY="/var/services/homes/Erik/.ssh/id_ed25519" REMOTE_USER="erik" REMOTE_HOST="backup.janssengelen.nl" REMOTE_ROOT="/mnt/backup/synology_backup" LOG_FILE="/volume1/scripts/backup.log" LOG_MAX_SIZE=10485760 # Max log size in bytes (10MB) LOG_BACKUP_COUNT=7 # Number of backup logs to keep # Bronmappen voor backup SOURCES=( "/volume1/homes"...

Backup USB-SSD > NAS HDD

B

Synology won’t use a USB-SSD as source for backup, so you need a mount

Create a shared folder on Synology NAS,

Via File Station on Synology DSM

Create Shared Folder, e.g usb_source

sudo mount --bind /volumeUSB1/usbshare /volume1/usb_sourceCopy

Now you can use the usb_source shared folder (which is mounted to the USB-SSD) as backup source

blue-ox.nl From coffee-fueled fruity tech to fast runs—think different, let’s run them.

Pages

Tags