Better HN
topnewbestaskshowjobs
Log inSign up

netobuenrostro

4 karma · joined Aug 9, 2015 (11y ago) · 1 submissions

Submissions

comment 4y ago · link · parent

Why dd and not pv? dd is bundled on most distros, while pv you need to install it if you want to use it. You can't always just go and install any packages you want on production servers.

While importing a DB dump is easy to see the progress with dd.

dd if=my.sql status=progress | mysql mydb