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

Tagbackup

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

Building Backup from RPi attached USB-SSD with Immich photo source to Synology NAS

B

Learn how to create an intelligent backup solution that mirrors your external SSD drive from a Raspberry Pi to a Synology NAS, complete with real-time monitoring and smart file deletion handling. This comprehensive guide demonstrates how to maintain perfect backups of your photo library while preserving deleted files in a separate '_deleted' folder with their original directory structure intact.

Raspberry Pi backup rsync (SSH) based

R

Backup your complete Pi to a Synology NAS Create ED25519 keys on RPi ssh-keygen -t ed25519 -f ~/.ssh/id_ed25519_rpi-backup -C "rpi-backup"Code language: JavaScript (javascript)Copy From your user home directory Take care your .ssh folder is readable chmod 700 ~/.sshCopy chmod 700 ~/.sshCopy cd .sshCode language: CSS (css)Copy nano configCopy Enter the following (creating an alias with all kinds...

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

Pages

Tags