Actions
How to restore Redmine backup » History » Revision 2
« Previous |
Revision 2/3
(diff)
| Next »
chin-yeh, 03/12/2012 02:25 PM
How to restore Redmine backup¶
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 · 2 revisions