[clue-tech] Detecting media change
Nate Duehr
nate at natetech.com
Fri May 2 17:38:28 MDT 2008
David L. Willson wrote:
>>> blkid /dev/sda1 | sed -e 's/^.*UUID="\([^"]*\)".*$/\1/'
>> If you really like sed, this may be a little cleaner:
>>
>> sed -e 's/^.*UUID="//' -e 's/".*$//'
>>
>> but
>>
>> blkid -o value /dev/sda1 | head -1
>>
>> works for me.
>
> Very nice, Dave. You pimped Bacula; have you compared it to BackupPC? That's the only
> one that sorta tempts me to leave behind my growing pile of steaming script.
I ended up liking the flexibility of backupninja (packaged for Debian,
not sure who else has packages), but like some other backup projects, it
doesn't seem to have gathered much of a following.
Playing 'round with Bacula and BackupPC, they're all different means to
an end, so I haven't worked on a plan to switch to one of the more
"popular" ones yet.
(Maybe this is my posting saying "Try backupninja!" to garner more
interest for it. Ha.)
Nate
More information about the clue-tech
mailing list