Seringkali kita membutuhkan melakukan copy data antar server dalam jaringan berikut adalah tips perintah untuk melakukan copy file secara cepat menggunakan bantuan netcat. Mengapa lebih cepat? karena langsung menggunakan direct socket dan kompresi sehingga overhead jaringan bisa diminimalisir.
studycase dengan perintah dibawah ini, mengcopy file 22Gb dari singapore ke jakarta membutuhkan waktu 49:09 menit dengan kecepatan throuput pada [ 6.5MiB/s]
#di server source file:
tar -zcf - /var/www/html | pv | nc -l -p 5555 -q 5
#di server target :
cd / ; nc 127.x.x.x 5555 | pv | tar -zxf -
Penambahan perintah pv pada pipeline diatas adalah untuk memberikan progressbar berapa banyak data dan kecepatan transfer data yang dilakukan oleh netcat.
selain itu perintah netcat juga dapat digunakan untuk melakukan direct backup hardisk (clone disk) melalui jaringan. perintahnya sebagai berikut pada server sumber :
dd if=/dev/sda | gzip | pv | ssh root@targetserver 'gzip -d | dd of=/dev/sdd
atau jika akan menyimpan ke file backuo images
dd if=/dev/sda | gzip -1 - | pv | ssh user@targetserver dd of=image.gz
/dev/sda adalah hardisk yang hendak di clone pada server sumber, /dev/sdd adalah hardisk yang dipasang pada server tujuan untuk target cloning.
selain cara diatas bisa juga menggunakan rsync , rsync akan melakukan skip jika file sudah ada
rsync -aHAX source dest # Linux
rsync -aHE source dest # OS X
#contohnya untuk copy folder upload ke server 10.1
rsync -aHAX upload root@10.10.10.1:/var/www/.
Right here is the perfect web site for anyone who hopes to find out about this topic. You understand a whole lot its almost hard to argue with you (not that I actually would want toÖHaHa). You definitely put a new spin on a topic that has been discussed for decades. Excellent stuff, just great!
Id like to thank you for the efforts youve put in penning this site. I am hoping to check out the same high-grade content from you in the future as well. In fact, your creative writing abilities has encouraged me to get my own site now 😉
I read this post completely concerning the difference of newest and earlier technologies, it’s amazing article.
Hey, thanks for the blog post.Thanks Again. Want more.
Appreciate you sharing, great article post.Really thank you! Will read on…
Good way of explaining, and good post to take data regarding my presentation subject, which i am going to deliver in academy.
Policy aimed, 45 degrees and the Day of Thrombin and a bid-rigging. acyclovir coupon Udecsa ieknvt
Appreciate you sharing, great post.Really looking forward to read more. Really Great.
Really informative article post.Really looking forward to read more. Want more.
Very informative post.Thanks Again. Keep writing.
I love the efforts you have put in this, thanks for all the great blog posts.
fantastic points altogether, you simply gained a new reader. What would you recommend in regards to your post that you made some days ago? Any positive?
Thank you ever so for you article.Thanks Again. Will read on…
Good day! I could have sworn Iíve been to this blog before but after browsing through a few of the posts I realized itís new to me. Anyways, Iím definitely happy I stumbled upon it and Iíll be book-marking it and checking back frequently!
Im obliged for the article.Really thank you! Really Cool.
Im obliged for the blog post.Really thank you! Fantastic.
Great, thanks for sharing this blog article.Thanks Again. Really Cool.
A big thank you for your post.Much thanks again. Keep writing.
Appreciate you sharing, great article. Want more.
Appreciate you sharing, great blog article.Much thanks again. Keep writing.
Major thankies for the blog.Really looking forward to read more. Much obliged.
I truly appreciate this blog post.Really looking forward to read more. Really Cool.
Thanks-a-mundo for the blog.Much thanks again. Keep writing.
I loved your post.Thanks Again. Really Great.
Appreciate you sharing, great blog.Really looking forward to read more. Much obliged.
Very good post.Much thanks again. Want more.
I have fun with, result in I discovered just what I was having a look for. You have ended my four day long hunt! God Bless you man. Have a nice day. Bye
Thanks so much for the article post. Great.
I’ll right away clutch your rss as I can not to find your email subscription link or newsletter service. Do you’ve any? Kindly allow me recognise in order that I may just subscribe. Thanks.
Major thankies for the blog post.Thanks Again. Great.
I really liked your blog.Really thank you! Cool.
Great, thanks for sharing this blog post. Want more.
This is one awesome blog post.Much thanks again. Fantastic.
I cannot thank you enough for the article post.Thanks Again. Want more.
You made a few nice points there. I did a search on the subject matter and found mainly folks will agree with your blog.
Really appreciate you sharing this article post.Thanks Again. Keep writing.
I value the blog article.Thanks Again. Awesome.
Thanks a lot for the post.Much thanks again. Great.
Thank you ever so for you article.Much thanks again. Awesome.
Thanks for the post.Really looking forward to read more. Really Great.
Great, thanks for sharing this blog post.Thanks Again. Fantastic.
Thanks-a-mundo for the blog article.Really thank you! Keep writing.
I am curious to find out what blog system you have been working with? I’m experiencing some small security problems with my latest blog and I’d like to find something more safeguarded. Do you have any suggestions?
Really appreciate you sharing this article post.Really thank you! Cool.
I’m extremely impressed with your writing skills as well as with the layout on your blog. Is this a paid theme or did you customize it yourself? Anyway keep up the nice quality writing, it is rare to see a great blog like this one nowadays..
Muchos Gracias for your article. Really Great.
Thank you for sharing this blog, it is really very helpful and very informative.For IAS Coaching : IAS Coaching in Bangalore
Having read this I believed it was nifty informative I appreciate you taking the time and energy to put this content together.
Thanks-a-mundo for the article. Really Great.
Really informative blog post.Much thanks again. Will read on…
These are in fact fantastic ideas in on the topic of blogging.You have touched some good factors here. Any way keep up wrinting.
wow, awesome blog. Cool.
Muchos Gracias for your blog.Really thank you!
This is one awesome article post. Keep writing.
Thank you ever so for you blog. Cool.
I appreciate you sharing this article post.Thanks Again. Want more.
Im thankful for the blog post.Really thank you! Much obliged.
wow, awesome article post.Really looking forward to read more.
tinder app , how to use tindertinder sign up
Great post. Fantastic.
Enjoyed every bit of your article.Thanks Again. Really Great.
I appreciate you sharing this blog article.Really thank you! Much obliged.
Thanks so much for the post.Much thanks again. Much obliged.
Thank you for your article post.Much thanks again. Keep writing.
I am so grateful for your article.Thanks Again. Awesome.
I really like and appreciate your blog.Thanks Again. Cool.
I cannot thank you enough for the blog.Thanks Again. Cool.
Hi are using WordPress for your blog platform?I’m new to the blog world but I’m trying to get started andcreate my own. Do you require any html coding knowledgeto make your own blog? Any help would be greatly appreciated!
Hello my family member! I want to say that this post is awesome, great written and include approximately all important infos. I would like to look extra posts like this .
Really appreciate you sharing this blog article.Really thank you! Really Cool.
Thanks a lot for the blog.Thanks Again. Much obliged.
Really enjoyed this article post.Really looking forward to read more. Want more.
what is zithromax for zithroma zithromax azithromycine
Say, you got a nice post.Thanks Again. Want more.
Muchos Gracias for your blog article.Really looking forward to read more. Keep writing.
My family members every time say that I am killing my time here at net, however I know I am getting familiarity everyday by reading such fastidious articles.
I really like and appreciate your blog article. Cool.
Im thankful for the post. Keep writing.
Say, you got a nice article post. Really Cool.
Hi there! I’m at work surfing around your blog from my new iphone 3gs!Just wanted to say I love reading your blog and look forwardto all your posts! Carry on the superb work!
I really like and appreciate your blog article.Really looking forward to read more. Much obliged.
Hey There. I found your blog using msn. This is a really well written article.I will make sure to bookmark it and return to read more of your useful info.Thanks for the post. I will definitely comeback.
I follow you by liking you, my friend, your content is very successful, you produce beautiful content.
I value the post.Really thank you! Really Cool.
Good day! Would you mind if I share your blog with my twitter group? There’s a lot of folks that I think would really enjoy your content. Please let me know. Many thanks
Im thankful for the article.Much thanks again. Fantastic.
Enjoyed every bit of your blog post.Thanks Again. Great.
Having read this I thought it was extremely enlightening. I appreciate you spending some time and energy to put this short article together. I once again find myself personally spending a significant amount of time both reading and commenting. But so what, it was still worthwhile.
Pretty! This has been a really wonderful article. Thank you for supplyingthis information.
wow, awesome post.Much thanks again. Cool.
I really enjoy the article.Really looking forward to read more. Fantastic.
Very good article. I absolutely appreciate this site. Stick with it!
free slots games free slots online slot games
I appreciate you sharing this blog.Much thanks again. Great.
Thanks for the blog.Really looking forward to read more. Really Great.
This is one awesome article post.Much thanks again.
Say, you got a nice post.Really thank you! Much obliged.
A motivating discussion is worth comment. I believe that you should publish more on this subject matter, it may not be a taboo subject but usually people do not discuss these issues. To the next! Best wishes!!