ShahriyarR / MySQL-AutoXtraBackup

MySQL-AutoXtraBackup commandline tool written in Python 3 based on Percona XtraBackup
https://autoxtrabackup.azepug.az/
MIT License
140 stars 79 forks source link

Deleted database, but restore didn't restore it back #304

Closed BarbzYHOOL closed 6 years ago

BarbzYHOOL commented 6 years ago

Deb9

I tried to restore a backup, I deleted an entire database, and then I restored using autoxtrabackup --prepare

but the database has not been restored

What did I do wrong? Should I delete /var/lib/mysql manually first? Or does the script do it automatically for me?

ShahriyarR commented 6 years ago

Do you have a log file? Could you please share it or just paste here the entire output?

BarbzYHOOL commented 6 years ago

Ok, in fact it worked, I just had to log out and log back into my mysql client (like clear a cache)