Moving Redmine from server to server
I have a local installation of redmine and I would like to move it to another server without losing any data. How would I do this?
RE: Moving Redmine from server to server - Added by Mat Schaffer over 9 years ago
That's more a question of moving the database, which depends on what database you're using (sqlite would just be copying a file, mysql would be a mysql_dump operation, etc...). Migrating the app and files should just be a basic file copy.
The easiest situation would be to take the current instance down while you're moving data over. Then you don't have to worry about people posting while you're migrating.
Hope that helps!
RE: Moving Redmine from server to server - Added by John Reynolds over 9 years ago
I did this recently.
- Backup your mysql database, restore to new one.
- Ensure your new mysql user/pass are the same as the old.
- Install redmine on new machine (this totally depends on what you're on - I'm the freak on WinXP with InstantRails, so things are easy).
- Copy over your <distro>/files to the new server so your attachments come over.
- If you have a new mail server, etc - be sure to change the config files.
Basically use this RedmineUpgrade and you should be fine.