FAQ - I have a backup of Dolibarr. How can I restore it into DoliCloud ?

dolibarr_adaptable

 

This FAQ will guide you to restore a backup into your DoliCloud instance.

 

 

 

 

 

Why and when ?


Restoring a database and files is a risky operation. As it overwrite existing data, you will loose all current data of your instance, and, if it fails, you may make your application unstable. In most cases, a "restore" operation must be done by people with technical knowledge. 

If you are ready to start, you can follow steps described into next chapters.

 

 

Prerequisite

 

First, you must check that you have a complete backup. If you make a backup using recommanded process, you will have all things required to try a restore.

Whatever is the source of your backup, you must check that you have :

 

- A mysql dump file of your database. This dump file must have be done using the mysqldump command. If your backup was done with phpMyAdmin or any other tool that does nto use the mysqldump tool, backup integrity is not guaranted and we seriously recommand to not try to restore from such files, but to make another backup (See other FAQ for this).

Check also that last line of your file start with "-- Dump completed". This is to be sure that your backup with mysqldump was not interrupted during backup and that your file is complete.

 

- An archive file of directory documents. This archive file (zip, tar, or any archive format) must contains the directory documents and all its subdirectories and files of original Dolibarr used as backup source.

 

 

How to restore ?

 

If prerequisites are ok, you can follow the tutorial to restore, available on page

https://wiki.dolibarr.org/index.php/Migrate_To_DoliCloud

You can jump directly to step 3 or 4 of this tutorial (step 1 and 2 describes how to make the backup).


 

 

 

FAQ written by DoliCloud support team.