30,997
edits
No edit summary |
|||
| Line 3: | Line 3: | ||
This description works for every users using a MySql database. | This description works for every users using a MySql database. | ||
= Prerequisites = | |||
* Check that you Dolibarr version (you will find it onto logon page) is lower or equals to DoliCloud version (In most cases, it should be true because DoliCloud plan offers the last stable version). | * Check that you Dolibarr version (you will find it onto logon page) is lower or equals to DoliCloud version (In most cases, it should be true because DoliCloud plan offers the last stable version). | ||
If your local version is old, upgrade first locally to same version than DoliCloud. | If your local version is old, upgrade first locally to same version than DoliCloud. | ||
= Backup your old database = | |||
* First step is to backup your database. | * First step is to backup your database. | ||
For this, go into menu '''Home - System tools - Backup'''. Click to generate a backup file (with mysqldump method). This will launch mysqldump command and show you the command. | For this, go into menu '''Home - System tools - Backup'''. Click to generate a backup file (with mysqldump method). This will launch mysqldump command and show you the command. | ||
| Line 19: | Line 19: | ||
</source> | </source> | ||
= Copy content of your document files = | |||
All uploaded or generated files are stored into the document directory. To know path of this directory, go into menu '''Home - System info - Dolibarr - All parameters'''. Full path where all you files are stored is visible on line with key '''dolibarr_main_data_root'''. | All uploaded or generated files are stored into the document directory. To know path of this directory, go into menu '''Home - System info - Dolibarr - All parameters'''. Full path where all you files are stored is visible on line with key '''dolibarr_main_data_root'''. | ||
Save this directory and all its content (subdirectories and files). | Save this directory and all its content (subdirectories and files). | ||
= Create a DoliCloud instance = | |||
Go onto http://www.dolicloud.com and subscribe to create a new instance. Note that creating an instance if free for 15 days. | Go onto http://www.dolicloud.com and subscribe to create a new instance. Note that creating an instance if free for 15 days. | ||
= Upload documents into DoliCloud = | |||
Once instance is created, you receive a mail with id to log to Dolibarr and to log to your dashboard. | Once instance is created, you receive a mail with id to log to Dolibarr and to log to your dashboard. | ||
| Line 34: | Line 34: | ||
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. | * 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). | 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). | ||
| Line 47: | Line 47: | ||
</source> | </source> | ||
= Test = | |||
Now, call your Dolibarr login page into DoliCloud. You must login using a user that did exists into old server database with same password. Your admin user created during DoliCloud init does no more exists as it was overwritted by the database load at previous step. | Now, call your Dolibarr login page into DoliCloud. You must login using a user that did exists into old server database with same password. Your admin user created during DoliCloud init does no more exists as it was overwritted by the database load at previous step. | ||
= Questions = | |||
What to do if my migration to DoliCloud fails ? | |||
Just send a mail to report your problem or question to support@dolicloud.com (support is free, even with the Basic Plan for any migration/setup questions). | |||