How to Backup DataBase using ssh?

Linux Server Management Tips and Tricks
Post Reply
arnlweb
Site Admin
Posts: 96
Joined: Wed Jun 22, 2016 1:28 pm
Location: India
Contact:

How to Backup DataBase using ssh?

Post by arnlweb » Tue Jul 05, 2016 6:05 pm

Login into your server via SSH and use this cmd.

Example:

Code: Select all

mysqldump -u databaseusername -p databasename > backup.sql
after that enter the database password.

Post Reply