30,997
edits
| Line 31: | Line 31: | ||
* First, log to your new Dolibarr instance. Go into menu '''Home - System info - Dolibarr - All parameters'''. You will find on line for key '''dolibarr_main_data_root''', the value of full path of directory where documents are stored on DoliCloud instance. | * First, log to your new Dolibarr instance. Go into menu '''Home - System info - Dolibarr - All parameters'''. You will find on line for key '''dolibarr_main_data_root''', the value of full path of directory where documents are stored on DoliCloud instance. | ||
* Then log to your new DoliCloud dashboard. You will find an area with your SFTP | * Then log to your new DoliCloud dashboard. You will find an area with your SFTP identifiers. | ||
With any SFTP software (WinSCP for Windows, Nautilus for most Linux), login to DoliCloud using SFTP protocol. Copy all documents files and sub-directories you saved from previous step into the DoliCloud document directory. | With any SFTP software (WinSCP for Windows, Nautilus for most Linux), login to DoliCloud using SFTP protocol. Copy all documents files and sub-directories you saved from previous step into the DoliCloud document directory. | ||
=== Load your old database === | |||
* Log to your new DoliCloud dashboard again. You will find an area with your Mysql identifiers. | |||
Go on any computer where MySql and mysqldump command is install. Launch the following command to save the new DoliCloud initialized database (to restore DoliCloud it if something wrong later). | |||
<source lang="bash"> | |||
aaa | |||
</source> | |||
* Run the following command to overwrite database with database of your old server. | |||
<source lang="bash"> | |||
mysql -h yourinstance.on.dolicloud.com -P 3306 -D yourdatabasename -u mysql_user -pmysql_password < dumpfile | |||
</source> | |||