database backup

By Rob, 20 June, 2023

Backup database from command line with mysqldump.

note

mysqldump -u username -p database > backup.sql

this will ask you for the password for that user for the database after you execute that command.