Skip to end of metadata
Go to start of metadata

This option is available as of Razuna 1.4!

Migrate between Databases

As of Razuna 1.4 you have the option to backup & restore the complete Razuna database. This option will not only allow you to restore your complete Razuna server, but also migrate between different databases (say from MySQL to Oracle or MSSQL) with ease.

You can either backup the complete Razuna server or single hosts.

Backup Razuna Server

In order to backup your complete Razuna database and all settings you have to navigate to the Razuna Administration (usually located at http://mydomain.com/razuna/admin). Navigate to "System Settings" and then to "Backup & Restore".

Within the "Backup & Restore" tab you will then have the option to backup you Razuna server. Click on the "Backup" Button to conduct a backup. As backup file in the XML format is being generated.

Information

If your database is bigger then 1GB it is recommended that you store your backup on the server. All backup files are stored in the admin/backup folder and are labeled with the current date & time stamp. After the backup file is being generated you will have the option to download it.

Reset Razuna database

In order to migrate from one database to another you have the option to "reset" the database Razuna is using. Even if you want to stick to your existing database provider but want to revert the database you can reset it.

To do so, navigate to the "System Settings" and click on the "Database" tab. Then read carefully the instruction and then click on the provided Link to reset the database settings.

During the time of the migration your users can not work with Razuna!

Restore Razuna Server

In case something is wrong with your Razuna Server or you migrated to a new one or you migrated to another database (say from H2 to MySQL, Oracle or MS SQL) you can simply restore the complete Server Backup file to your new Razuna server.

You have two options here. One is to upload your Razuna Backup file to the new server or place the file on the "admin/backup" folder where Razuna will be able to pick it up.

Make sure your file is called xxxxxx.xml.zip or else the restore function will not work!

Once you uploaded or selected your Razuna Backup file you can click on "Upload & Restore" (or simply "Restore") and Razuna will import all settings and Razuna values from your backup into the new server/database.

After the import you should check the "Log" directory of Razuna (located at "razuna/WEB-INF/bluedragon/work/cflog"). You will find a log file with the current date and time stamp. Errors with duplicate key or alike can be ignored!

Labels: