Project

General

Profile

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.

Steps (Part 1 of 2):
  1. obtain the backup location from How to backup Redmine
  2. in order to restore the Redmine, extract the whole backup to a temporary location and search for this folder:
    opt/redmine-x.x.x
    
  3. copy the folder, redmine-x.x.x and then paste it into:
    /opt
    
  4. change the folder owner to:
    $ chown -R redmine:redmine /opt/redmine-x.x.x
    
  5. done
Steps (Part 2 of 2):
  1. search for this file, redmine_backup.sql in the extracted backup folder:
    opt/db_bak
    
  2. ensure the following ports are unoccupied:
    • 50000
    • 3001
    • 3002
    • 3690
    • 3007
  3. login as redmine user and then cd to the Redmine folder:
    $ cd /opt/redmine-x.x.x
  4. execute the following script to start the Redmine:
    $ ./ctlscript.sh
  5. 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
  6. done.

Updated by chin-yeh over 12 years ago · 3 revisions