[lug] Automated USB Drive Backup

Paul E Condon pecondon at mesanetworks.net
Mon Nov 5 12:14:41 MST 2007


On Mon, Nov 05, 2007 at 10:28:56AM -0700, Zan Lynx wrote:
> 
> On Sun, 2007-11-04 at 11:00 -0700, David L. Anselmi wrote:
> 
> > You can disable write caching and such so that at least if you pull the 
> > plug when it isn't busy it will survive.  If your backups unmount when 
> > they're done you only have to worry during that time (or if they fail).
> 
> If its a flash RAM drive, then pulling it out during a write operation
> might be extra bad.  Depending on the drive design, it might not damage
> anything, it might lose an entire flash block of data, or it might make
> the whole thing unrecoverable (or require a full format with special
> tools)
> -- 
> Zan Lynx <zlynx at acm.org>

I haven't been following this thread, so this may not be helpful.
I imagine you are writing a script to sequence the steps. To
ensure that data is written before the script ends, I think it is
sufficient to issue the command sync at the end of the script.

HTH
-- 
Paul E Condon           
pecondon at mesanetworks.net



More information about the LUG mailing list