目錄表

Migrating from GandiAI v.1.X to GandiAI v.1.2 2011

Please be sure to read this entire guide
before starting the migration of your server.

First of all, it is very important to note that this operation includes some risk of data loss so we STRONGLY encourage you to backup all your data before starting this procedure.
Gandi cannot be held responsible for any loss of data that might occur during this operation.

It is necessary to create a new server for this operation. However, we will be stopping and deleting the old one before creating the new one. This is in order to retain the IPv4 address of your current server, and thus avoid having to redo any DNS configurations of domains that are installed on it!

Additionally, keep in mind that in order to perform this delicate operation as easily as possible, it is imperative that you be in possession of all the usernames and passwords associated with the services that you need to migrate (MySQL, FTP, etc…).

We have tested this migration on real servers, and are keeping in mind all the possible difficulties, however there are so many possible exceptions that we cannot test all the various combinations.

1) Export your Gandi AI XML configuration

2) Back up your database

mysqldump -u admin -p --all-databases > all_databases.sql

To be sure that your data is coherent, it is essential that you stop your server IMMEDIATELY after performing this operation, because any information that is entered into the database following the dump will of course not be there.

3) Stop your server

4) Remove and rename your data disk

Remove your data disk

The only constraint will be that you will later need to rename it to what it was originally… Rename your original

5) Delete your Gandi AI server

6) Purchase additional disk quota

Just so you know, 1GB of disk space for one day, which is more than enough to perform the migration, will only cost you one cent!

7) Create a new Gandi AI

Your new server must be located in the same datacenter as the old server!

It is very important that you give your new server the exact same name as your old Gandi AI server! It is also necessary that you give it the same password for the admin user.

 Choose Gandi AI's prepackaged mode

8) Remove your data disk

If you nevertheless decide to keep this disk, you can simply rename it, however in this case you will need to renew the extra disk quota each month, or your server will go into redemption.

Remove the new disk from your new Gandi AI server

9) Rename your old disk

10) Import your original configuration

Go to your server's control panel and click on “Manage your Gandi AI server (like in the first step). However this time, we are going to click on “Import in XML. You will then need to copy and paste the entire text contained in your XML file** that you exported during step 1. Copy and paste the contents of the XML file into the text area

This will conclude the migration process.