[nylug-talk] resuming interrupted copy, kinda - or rsync?

Ajai Khattri ajai at bitblit.net
Fri Oct 26 12:16:04 EDT 2007


On Fri, 26 Oct 2007, jh wrote:

> So, I was doing a quick and dirty backup with
> 
> cp -Rvp . /mnt/raid_back/
> 
> when things died.
> 
> I _guess_ I can "resume" with
> 
> cp -Rvpu . /mnt/raid_back/
> 
> and hope that the file being copied when the lights went out made it, or 
> wasn't important :)
> 
> I'm kind of thinking that this is not the best/fastest way to go. Would 
> rsync allow me to move one directory tree to another, much as I'm doing 
> with cp? If so, can someone that knows rsync tell me how?

Im thinking it would be something similar like:

rsync -avpr ./ /mnt/raid_back/

(Note: trailing slashes have meaning in rsync)



-- 
Aj.



More information about the nylug-talk mailing list