In case you only want to upgrade the application code without modifying any other Stack components, If you want to upgrade Redmine and all Stack components Ruby, MySQL, Apache… You can follow the steps described in Updating to a new Redmine Stack. If you have important data, it is advisable that you create and try to restore a backup to ensure that everything works properly. It is strongly recommended that you create a backup before starting the update process. You can access your BitNami Redmine at the usual URL. To restore the system, copy the directory to a different Windows machine in the same location and follow these steps from a command prompt: $ cd Stop the servers using the shortcuts and copy the whole installation directory. On Windows, you should follow the same process. It is important to use the same path that was used when the stack was originally installed.įor example if you have a backup in a Red Hat machine, you can copy it to an Ubuntu Linux machine (a different distro!) in the same location. To restore this backup you only need to uncompress the backup tarball in the same location. Or you can create a tarball: $ tar -czvf Mysql> grant all privileges on bitnami_redmine.* to by 'BITNAMI_USER_PASSWORD' Once you have the backup file, you can restore it: $ mysql -u root -p bitnami_redmine create database bitnami_redmine This operation could take some time depending on the data size. $ mysqldump -u root -p bitnami_redmine > redmine_backup.sql Remember that you should run this command from the BitNami Redmine Stack console. If you are interested in a backup of only the database data, you can create a dump file using the “mysqldump” tool. There are different ways of creating a backup. On Windows you have a specific “use_redmine” shortcut to launch the console. On Linux or OS X you should only run the “use_redmine” script or the “rubyconsole” script: $ cd On OS X the installation directory is “/Applications/redmine- version” by default and on Windows is “C:\Program Files\BitNami Redmine Stack”.Īll commands should be executed from the BitNami Redmine Stack console. On Linux it is usually “/home/redmine- version” when installed as a regular user or “/opt/redmine- version” in the case of an installation as the root user. Throughout the article, we will use the installdir term to refer us to the installation directory. Although this post is based on the BitNami Redmine Stack, some of these solutions are valid for other BitNami applications. We have compiled all questions and solutions in this post to facilitate this task for other BitNami users. A lot of BitNami users have asked in our forums how to create a backup or update Redmine.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |