webcam brig belalp valais switzerland webcam birdcam crans-montana valais switzerland webcam berner oberland heimberg bern switzerland webcam berner oberland bern switzerland webcam events brig belalp valais switzerland webcam randogne crans-montana valais switzerland

Raspberry Hot Backup

Saturday, 21 January 2017 Written by admin

#!/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
echo “Starting RaspberryPI backup process!”
# First check if pv package is installed, if not, install it first
PACKAGESTATUS=dpkg -s pv | grep Status;
if [[ $PACKAGESTATUS == S* ]]
then
echo “Package ‘pv’ is installed.”
else
echo “Package ‘pv’ is NOT installed.”
echo “Installing package ‘pv’. Please wait…”
apt-get -y install pv
fi
# Check if backup directory exists
if [ ! -d “$DIR” ];
then
echo “Backup directory $DIR doesn’t exist, creating it now!”
mkdir $DIR
fi
# Create a filename with datestamp for our current backup (without .img suffix)
OFILE=”$DIR/backup_$(date +%Y%m%d_%H%M%S)”
# Create final filename, with suffix
OFILEFINAL=$OFILE.img
# First sync disks
sync; sync
# Shut down some services before starting backup process
echo “Stopping some services before backup.”
service apache2 stop
service mysql stop
service cron stop
# Begin the backup process, should take about 1 hour from 8Gb SD card to HDD
echo “Backing up SD card to USB HDD.”
echo “This will take some time depending on your SD card size and read performance. Please wait…”
SDSIZE=blockdev --getsize64 /dev/mmcblk0;
pv -tpreb /dev/mmcblk0 -s $SDSIZE | dd of=$OFILE bs=1M conv=sync,noerror iflag=fullblock
# Wait for DD to finish and catch result
RESULT=$?
# Start services again that where shutdown before backup process
echo “Start the stopped services again.”
service apache2 start
service mysql start
service cron start
# If command has completed successfully, delete previous backups and exit
if [ $RESULT = 0 ];
then
echo “Successful backup, previous backup files will be deleted.”
rm -f $DIR/backup_*.tar.gz
mv $OFILE $OFILEFINAL
echo “Backup is being tarred. Please wait…”
#tar zcf $OFILEFINAL.tar.gz $OFILEFINAL
# rm -rf $OFILEFINAL
echo “RaspberryPI backup process completed! FILE: $OFILEFINAL”
exit 0
# Else remove attempted backup file
else
echo “Backup failed! Previous backup files untouched.”
echo “Please check there is sufficient space on the HDD.”
rm -f $OFILE
echo “RaspberryPI backup process failed!”
exit 1
fi

Learn More / Full Story >>

RideOn Google for winter sports

Friday, 13 January 2017 Written by admin

RideOn – The world’s first true augmented reality goggles for winter sports. RideOn develops augmented reality technologies and infrastructure for markets related to the outdoors like action sports, motor vehicles and sports aviation. Its premier product is the world’s first AR goggles for skiing and snowboarding.

Learn More / Full Story >>

How to install Skylable SX on Centos 7

Thursday, 12 January 2017 Written by admin

SX Cluster is a reliable, fully distributed cluster solution for your data storage needs, released under the GPL licence. With SX Cluster you aggregate the disk space available on multiple servers and merge it into a single storage system. The cluster makes sure that your data is always replicated over multiple nodes (the exact number of copies is defined by the sysadmin) and synchronized. Additionally, SX Cluster has built-in support for high-availability, bit rot detection, deduplication, client-side encryption, on-the-fly compression and much more.

Learn More / Full Story >>

Coming Soon

Sunday, 8 January 2017 Written by admin

coming soon…

Learn More / Full Story >>

Install EIBD & LINKNX

Saturday, 7 January 2017 Written by admin

Install EIBD and LINKNX on linux.

Learn More / Full Story >>

Page 1 of 212