Actions
How to restore Redmine backup¶
see also http://wiki.bitnami.org/Applications/BitNami_Redmine
This restoration involves 2 parts, first part is to restore the application data; second part is to restore the Redmine
database.
- obtain the backup location from How to backup Redmine
- in order to restore the
Redmine
, extract the whole backup to a temporary location and search for this folder:opt/redmine-x.x.x
- copy the folder,
redmine-x.x.x
and then paste it into:/opt
- change the
folder owner
to:$ chown -R redmine:redmine /opt/redmine-x.x.x
- done
- search for this file, redmine_backup.sql in the extracted backup folder:
opt/db_bak
- ensure the following ports are unoccupied:
- 50000
- 3001
- 3002
- 3690
- 3007
- login as redmine user and then
cd
to theRedmine
folder:$ cd /opt/redmine-x.x.x
- execute the following script to start the
Redmine
:$ ./ctlscript.sh
- if started without any error, execute the following script to restore the
Redmine
database:$ ./use_redmine $ mysql -u root -p bitnami_redmine < redmine_backup.sql
- refer to the server_login.xls to get the database password
- done.
Updated by chin-yeh almost 13 years ago · 3 revisions