Also as im running a web server on my PI I thought it'd be good to have backups of the sd card laying around. Best practice I could figure is to take a copy of of the sd card every now and then, I saw something like this
- Code: Select all
dd if=/dev/mmcblk0 of=/mnt/sda1/raspberryPi.img
But will this take a copy of the entire sd card? Also is it possible to include a date here, like so
- Code: Select all
dd if=/dev/mmcblk0 of=/mnt/sda1/raspberryPi$date.img
that would output an image like so
- Code: Select all
raspberryPi2012.11.06.img
(and maybe even delete copys older than 1 month)
This done via a cron job once every week or so
Anyone got anything like this in the works or already done? Please do share if you do