[GRLUG] another backup plan

Michael Mol mikemol at gmail.com
Fri Jan 7 15:55:05 EST 2011


In your cron'd shell script, grep for '/media/usb-harddrive' in
"/proc/mounts".

Something checking udev to verify the serial number of the flash drive would
be even better, but I don't know how to do that off the top of my head, and
it's up to you if you want to go that far.

On Fri, Jan 7, 2011 at 3:51 PM, Adam M. Erickson <adam at openfad.com> wrote:

> I have set up rsnapshot on a removeable usb drive
>
> and the directory example is  '/media/usb-hardrive/rsnapshot/'
>
> I would like to make it a cron job but I do not want
> rsnapshot to run when the usb drive is not plugged in.
>
> I would like to set it and forget it.
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>



-- 
:wq

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://shinobu.grlug.org/pipermail/grlug/attachments/20110107/d12348c2/attachment.html>


More information about the grlug mailing list