MySQL backup

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • roni
    Junior Member
    • Mar 2021
    • 6

    #1

    MySQL backup

    Backup instructions on manual
  • bogdan.sh
    Administrator
    • Nov 2016
    • 1219

    #2
    Hello Fernando.

    In backup documentation we do dump all databases, however copy only system mysql database. As far as we know privileges are not dumped properly with mysqldump so better to have system database as is.

    The error after mysql_upgrade means that most probably someone did a database backup with just copying database name to /var/lib/mysql/t1rue2kea3dv-wwwtrue_true , and most probably there are duplicate keys in it. Please move out that directory from /var/lib/mysql and run mysql_upgrade again.

    Comment

    Working...