Your SlideShare is downloading. ×

Backup your existing openQRM environment

226

Published on

This openQRM Howto explains how to safely backup the openQRM Server e.g. before an update to a newer version. …

This openQRM Howto explains how to safely backup the openQRM Server e.g. before an update to a newer version.

The update of openQRM is designed to happen during run-time without any affects for managed systems or running virtual machines.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
226
On Slideshare
0
From Embeds
0
Number of Embeds
3
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Backup your existing openQRM environment Here a screenshot of a existing, fully configured openQRM 5.0 Setup (/fileadmin/Images/Documentation/UpdatetoopenQRM51/01.png) Here a screenshot of the version details of this openQRM 5.0 Setup openQRM consist of "files" and a "database". Having a backup of both parts allow to "roll-back" the update at any point. All files in openQRM are located within the openQRM base-directory (normally /usr/share/openqrm). To create a simply backup please run the following commands as 'root' on your openQRM Server:
  • 2. cp -aR /usr/share/openqrm /usr/share/openqrm-5.0.before-update To backup the openQRM database content (assuming mysql as the database backend) please run: mysqldump openqrm -p > /usr/share/openqrm-5.0.before-update/openqrm-db.sql This command will ask for the openQRM database password. Please notice! At any time you can roll-back to your previous state of your openQRM environment by running as 'root' mv /usr/share/openqrm /usr/share/openqrm-update-rolled-back && mv /usr/share/openqrm-5.0.before-update /usr/share/openqrm && /etc/init.d/openqrm restart Furthermore openQRM provides a 'state-backup' which captures the full-state (all configuration files and the databases content). A 'state-backup' of openQRM also allows to "roll-back" the update at any point. To run a state backup please run: /usr/share/openqrm/bin/openqrm state backup -n 5.0.before-update To list all state backups please run: /usr/share/openqrm/bin/openqrm state list To apply/restore a state backups please run e.g.: /usr/share/openqrm/bin/openqrm state restore -n [backup-name] Here the commands to apply for a standard backup before an update:

×