S
S
skyonline2014-01-03 01:13:23
PHP
skyonline, 2014-01-03 01:13:23

How to transfer files and databases from one CPanel account to another on the same server?

There is CloudServer with WHM CPanel. One of the accounts contains files and databases (mysql). It is necessary to transfer them using php to another account on the same server (a new account is created automatically via CPanel api).
A week of experiments did not give any results - cpanel api does not have such functions, and it does not work through standard php due to lack of access rights to another account. In general, I want to do all this somehow with root rights without touching account passwords.
Open_basedir turned off turned on - did not give any result. Offsite cpanel as well as its forum did not give an answer to the question.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kerman, 2014-01-04
@Kerman

You can transfer via ftp. Files can be copied using php to a folder with access. The database cannot be copied, you need to merge the dump. To remove the dump, you can use phpmyadmin or write a script with pens

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question