Re: [otrs] Move data from live server to local version of OTRS

Thanks Rory - much appreciated! :-)
________________________________
From: Rory
Thanks a lot Rory and Stephan.
My test machine is Windows and live is Linux.
I am afraid it is not an option to install Linux on the test machine as it is not supported by our IT department.
Do you still think I should install the same version of OTRS as live (2.2.5) on the test machine? ________________________________ From: Stephan Lang
To: User questions and discussions about OTRS. Sent: Tuesday, 8 September, 2009 14:32:50 Subject: Re: [otrs] Move data from live server to local version of OTRS Hi,
I'd like to use VMware to test stuff. In this case you could use VMware Converter to create a virtual copy of your live server, but I haven't tried doing that with a Linux OS (what's your live server OS btw.?). With the live server duplicated and VMware snapshots you can test until everything works and by pretty sure that the live server will act the same way.
Yours sincerely
p.p. Stephan Lang System Administrator
OTRS: 2.4.4 (rpm) and FAQ 1.6.4 OS: openSUSE 10.3 no X DB: MySQL 5.0.45 -----Original Message----- From: otrs-bounces@otrs.org [mailto:otrs-bounces@otrs.org] On Behalf Of Rory Sent: Dienstag, 8. September 2009 15:22 To: User questions and discussions about OTRS. Subject: Re: [otrs] Move data from live server to local version of OTRS
The link,
ftp://ftp.otrs.org/pub/otrs/
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/8 Rory
: You can get the older versions from the FTP. If I remember you can do the install from the tar.gz file on windows.
Rory
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/8 Lev Davidovich
: Actually I will be required to make a fresh install of OTRS on the test machine ( a new Windows XP machine).
Is it possible to install the same version of OTRS (2.2.5) as the live version? All that seems available on the download page (http://otrs.org/download) is the latest version (2.4.4).
________________________________ From: Rory
To: User questions and discussions about OTRS. Sent: Monday, 7 September, 2009 16:05:30 Subject: Re: [otrs] Move data from live server to local version of OTRS Hi Lev,
I would suggest that you rebuild the test machine to the same version as your production machine. Once done, dump the live database and then import it to the test DB and copy over your configuration. Once this is in place perform the upgrade procedure on the test machine taking note of any steps you needed to do that were out of the ordinary. It would be a good idea to isolate the machine on the network so that you don't send out test spam to your clients as Lars said. You could do that at the firewall or simply have a private network between your machine and the server.
Once you successfully complete the update process on your test box you have your upgrade path. You can now be confident that you can successfully upgrade your production server. Once you have upgrade the production server to the same level as the test server you are in a position to do some reliable backups, you could even swap the servers if needed.
For the DB backup, mysqldump is a very good tool but you will have trouble if you try to use it the way you've described. You would have to edit the dump file and delete all the data in the live database after each backup. I can see it being very laborious.
What you could do is this;
1. Create a second database on the test server i.e. otrs2 2. Dump the current live database to the otrs2 database. 3. Clear out the live database. 4. Perform future dumps to the first test database.
This way you will have a current backup of the production server and a historical backup of the database that you can connect to if you need to. When the performance of the production server is degraded again you could create a 3rd database on the test server and repeat the above steps with it. This would leave you with a current production backup and 2 historical backups.
Its not a nice way of doing things but it would do what you were looking for. There's always the alternative of getting new hardware to run the production server on :)
I hope that helps, Rory Clerkin
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/9/7 Lev Davidovich
: I see.
So there is no way to, say, dump the data, import the dump into the backup, delete the backed up data from the live system and then import only the new data into the backup a few months later?
________________________________ From: Lars Monsees
To: User questions and discussions about OTRS. Sent: Monday, 7 September, 2009 14:49:26 Subject: Re: [otrs] Move data from live server to local version of OTRS Hi Lev,
Why is it not a good idea to do a dump every few months? Is it because the whole process is very time consuming? Or are there too many risks attached?
depending on the size of your DB, it can be very time consuming.
Where can I find more information about replication?
http://www.google.de/search?q=mysql+replication
Lars
-------------------------------------------------------------------- - OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
-------------------------------------------------------------------- - OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
Click https://www.mailcontrol.com/sr/sBPqvpAAil!TndxI!oX7Uly+DeWq1tAPJEKTYxL8!t!el... to report this email as spam. ------------------------------------------------------------------------ Bock 1 GmbH & Co. KG An der Heide 17 92353 Postbauer-Heng
Sitz: Postbauer-Heng Amtsgericht Nuernberg, HRA 11 240 pers. haft. Geschaeftsfuehrer: Hermann Bock Bock 1 Verwaltungs GmbH Sitz: Postbauer-Heng Amtsgericht Nuernberg, HRB 93 10 Geschaeftsfuehrer: Harald Meyer, Klaus Stepper
Diese E-Mail enthaelt moeglicherweise vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser E-Mail ist nicht gestattet.
This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this email. Any unauthorized copying, disclosure or distribution of the material in this email is strictly forbidden.
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
--------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/
participants (1)
-
Lev Davidovich