Skip to content

Devlion

Devlion experience for Developers

Month: September 2021

Import DB with progress bar

pv sqlfile.sql | mysql -uxxx -pxxxx dbname
pv sqlfile.sql.gz | gunzip | sudo mysql dnname
mysqldump -hxxx -uxxx -p dbname | pv -W > dump.sqlmysqldump -hxxx -uxxx -p dbname | pv -W > dump.sql
cat dbdump.gz | gzip -d | mysql --password=root -v | time dd of=/dev/null status=progress

Author Ilya DPosted on September 28, 2021Categories DevlionLeave a comment on Import DB with progress bar

Search

Recent Posts

  • Moodle AMD implementation
  • Import DB with progress bar
  • Backup DB + data
  • LINUX – Mount disk with SFTP to Windows
  • install all plugins by moosh

Recent Comments

  • Moodle – How to install Moodle on Ubuntu 18.04 – Devlion on Ubuntu – How to open new Ubuntu 18.04 server on Digital Ocean

Archives

  • December 2021
  • September 2021
  • May 2021
  • December 2020
  • October 2020
  • January 2020
  • October 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018

Categories

  • Accessibility
  • Activity
  • Activity
  • Analytics
  • Apache
  • Bash Scripts
  • Bash Scripts
  • CLI
  • Coding Style
  • Coding Style
  • Devlion
  • Geogebra
  • GIT
  • JS
  • Laravel
  • Mac Os
  • Moodle
  • Moodle
  • Moodle Plugins
  • Mysql
  • PHP
  • PHP
  • Quiz
  • Support
  • Support
  • Ubuntu
  • Virtual Box
  • Wordpress
  • Wordpress
  • WP Support
  • Xapi

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Devlion Proudly powered by WordPress