usmannasir / cyberpanel

Cyber Panel - The hosting control panel for OpenLiteSpeed
GNU General Public License v3.0
1.6k stars 613 forks source link

Remote backup failed to migrate databases #535

Open franciscopaniskaseker opened 3 years ago

franciscopaniskaseker commented 3 years ago

Using last cyberpanel version (both servers) I tried to use remote transfer feature and zero databases are copied. If we do not have this, why offer a feature like that? It is being very disappointing rely in cyberpanel features...

webNpro commented 3 years ago

Hi, I have the same problem. Fresh install, Ubuntu 20.04 @usmannasir, could you check it please? Thx!

usmannasir commented 3 years ago

@webNpro

Make sure password auth is enabled for root ssh user and also port 22 for ssh is opened.

webNpro commented 3 years ago

@usmannasir. I checked, there is the sql file in the backup, but the database is not created for the site. The files are transferred without any problem.

webNpro commented 3 years ago

My problem is solved. I had to create and drop the site users in mysql. After that, the databases were created without any problems.