Skip to content
Menu
ComaNotiz ComaNotiz
  • How To’s
  • Network
  • Windows
  • Telefon
  • iPhone
  • Linux
  • Dreambox
  • Repair
  • Office
  • Eagle
  • Temp. Logger
ComaNotiz ComaNotiz

Mount and backup Raspberry

Posted on 07.08.202108.08.2021 by Milan

/etc/fstab

//192.168.110.50/Cloud /media/dietpicloud cifs username=dietpi,password=dietpu,uid=1000,iocharset=utf8 0 0

Bash Script

#!/bin/bash
now=`date +"%Y-%m-%d"`
file="${now}_HomeAssistantPi.img"
echo "Backing up ${file}"
dd if=/dev/mmcblk0 of=/media/dietpicloud/backup/homeassistant/${file} status=progress
Linux Raspberry Pi

Log In

Recent Posts

  • FritzFritz Repeater Specifikations
  • How to Install Windows 11 Without a Microsoft Account
  • Proxmox – Tips / Commands
  • Synology DSM 7 with Lets Encrypt and DNS Challenge
  • Proxmox Resize

Categories

  • 3D Print
  • Apple
  • Audio & Video
  • Dreambox
  • Eagle
  • Electronic
  • Home Asisstant
  • How To's
  • iPhone
  • iPod
  • Konsole
  • Linux
  • Media Wiki
  • NAS
  • Network
  • Office
  • Raspberry Pi
  • Repair
  • Telefon
  • Tips & Tricks
  • Uncategorised
  • Uncategorized
  • Windows
  • Xbox
©2025 ComaNotiz | Powered by Superb Themes