{"repo":"mr-manuel/raspberry-pi-backup","free":true,"listed":false,"github":"https://github.com/mr-manuel/raspberry-pi-backup","clone":"git clone https://github.com/mr-manuel/raspberry-pi-backup.git","description":"This script allows you to backup your Raspberry Pi to a SMB/CIFS share on a NAS/computer without removing the SD card.","language":"Shell","stars":45,"topics":["backup","backup-script","backup-utility","cifs","nas","raspberry-pi","raspberrypi","smb","venusos","victron"],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"Raspberry Pi backup script GitHub repository: mr-manuel/raspberry-pi-backup Disclaimer I wrote this script for myself. I'm not responsible, if you damage something using my script. Supporting/Sponsoring this project You like the project and you want to support me? Purpose The script backups the whole SD card (also empty blocks) of a Raspberry Pi to a SMB/CIFS share on a NAS/computer without the need to remove the SD card. It works also with Venus OS from Victron Energy. NOTE: It's not possible to change the used method to not backup empty blocks. The backup will always have the same size as your SD card is. Therefore it works on many systems without installing additional software. Config Copy the backup.sample.conf to backup.conf and change the variables in the backup.conf with nano , vi , vim or the editor of your choise. Standard install path /opt/raspberry-pi-backup Venus OS install path /data/etc/raspberry-pi-backup Install 1. Execute this commands to download and install the script: 2. Modify the needed parameters by changing the backup.sh script. 3. Run the script on demand or setup a cronjob, if you want to run the backup automatically. You can use the Crontab Generator. Command to execute: On standard Linux /opt/raspberry-pi-backup/backup.sh On Venus OS /data/etc/raspberry-pi-backup/backup.sh NOTE: After a Venus OS update you have to setup the cronjob again. Uninstall Remove the cronjob (if any) and delete the folder with the script. Debugging Run the script directly ","default_branch":null,"files":null,"tree":[],"storefront":"/r/mr-manuel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/mr-manuel/raspberry-pi-backup/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}