Versatile as the Swiss Army knife, around 70 to 79 Euro to buy, works like an Arduino Leonardo combined with a Linux system on one PCB. Wifi and Ethernet on board. Works with nearly all Arduino shields. That is just amazing and I am happy to own one.
Tuesday, October 14, 2014
Friday, January 22, 2010
How I backup my homedirectory
I use rsync in a bash script to backup my homedirectory
#!/bin/bash
userdir=`whoami`
computer=`hostname`
echo "backup User "$userdir "on Host" $computer "to net_storage"
rsync -av --exclude-from=.rsync/exclude --delete --delete-after --delete-excluded $userdir@net_storage:$userdir/rsync/$computer/
where:
userdir is the user of the folder to backup
computer is the host to be in the backup
You can have a file "exclude" where you can define files or folders not to be in the backup.
I exclude ISO files because they generate a lot of traffic and I also exclude cache files of browsers.
My backup System is a small NAS filer (mgb 111) with an extra firmware which is capable of ssh.
#!/bin/bash
userdir=`whoami`
computer=`hostname`
echo "backup User "$userdir "on Host" $computer "to net_storage"
rsync -av --exclude-from=.rsync/exclude --delete --delete-after --delete-excluded $userdir@net_storage:$userdir/rsync/$computer/
where:
userdir is the user of the folder to backup
computer is the host to be in the backup
You can have a file "exclude" where you can define files or folders not to be in the backup.
I exclude ISO files because they generate a lot of traffic and I also exclude cache files of browsers.
My backup System is a small NAS filer (mgb 111) with an extra firmware which is capable of ssh.
Monday, November 26, 2007
Subscribe to:
Posts (Atom)
