Rsync help Linux

Hi there,

I'm in pain :(

I did a Firmware upgrade on my Linux QNAP 209 Pro NAS Server and it went wrong for some reason.

I have gained access using the QNAP Live CD (Linus OS) and started copying which is great (1.5 TB to USB External).  After 8 hrs its stopped due to my laptop shutting down for some reason.  I really dont wana start coppying the whole thing only for it to go wrong again.

Is there a command in bash 'rsync' that will resume whats remaining?


After some research, I'v tried:

rsync -rav --ignore-existing /media .

Open in new window


but it seems to go through the whole thing again :(

What do I do to save time?

(cry)
LVL 5
IekosAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

legolasthehansyCommented:
That's what Rsync is used for.. :-)

rsync --rvlpogt /source /destination --progress

It will copy what is remaining... Good luck!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
IekosAuthor Commented:
Ok.  It seems to have resumed :) yay.

So I understand it better, can I ask, why did my code not work?
legolasthehansyCommented:
I guess it is because of the ending /. If you mess it up then it copies it all over again.
IekosAuthor Commented:
Perfect..  I'm starting to really enjoy Linux :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.