This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage instructions at http://www.megaleecher.net/Best_Raspberry_Pi_Hot_Backup_Shell_Script | |
# This version disables backup image compression as it takes too much time on Pi, to enable uncomment the relavent lines | |
# Setting up directories, Just change SUBDIR and DIR varibales below to get going | |
SUBDIR=raspberrypi_backups | |
DIR=/media/ExternalHd/$SUBDIR |