I used the following command to view my database.
sudo cp -pr /var/lib/mysql ~/mysql.org
I received an error.
sudo cp -pr /var/lib/mysql ~/mysql.org
So then I tried to copy my database using the following command.
sudo cp -pr /var/lib/mysql ~/mysql.org
I took a look at the home directory to see if I could find a backup.sql but I did not find anything. What does it look like? How do I know I created a backup successfully?
Bookmarks