error restoring from cpanel

ludolugo

Verified User
Joined
Jul 24, 2019
Messages
9
Hi, i am trying to restore 150 backups from cpanel and is changing the name of the database but after that it can`t restore them. the error

WARNING! activage_bd cannot be owned by activagers, renaming database user to activagers_bd
Trying to find files in public_html to rename activage_bd to activagers_bd. A copy of the file will have '.cpanel_backup_copy_dbname.php' appended at the end.
/home/admin/admin_backups/activagers/domains/activagers.es/public_html/wp-config.php
WARNING! activage_us username cannot be set to activagers, renaming database user to activagers_us
Trying to find files in public_html to rename activage_us to activagers_us. A copy of the file will have '.cpanel_backup_copy.php' appended at the end.
/home/admin/admin_backups/activagers/domains/activagers.es/public_html/wp-config.php

Unable to restore database activagers_bd.sql to activagers_bd : ERROR 1044 (42000) at line 22 in file: '/home/activagers/backups/backup/activagers_bd.sql': Access denied for user 'activagers'@'localhost' to database 'activage_bd'

what i see is that is trying to restore it in activage_bd when the name of the DB has been changed by directadmin to activagers_bd
 
This looks like an old version of the conversion script, did you follow step #1 on DA server? Please try:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build cpanel_to_da

Thank you!
 
Back
Top