admindopd Posted July 6, 2015 Report Posted July 6, 2015 Hello guys I got many problems because of upgrading from openx to adserver. Every upgrade I have to work things through. So I decided to do a clean install. Is there any way to grab advertisers, campaigns, banners, websites and zones from the old database? Thanks! Please help!!!! Quote
Richard Foley Posted July 7, 2015 Report Posted July 7, 2015 According to the -> upgrade docs. <- you may be able to use the database tools to assist you. I havn't had the pleasure of migrating wildly different Adserver database versions, and it probably won't be a single command, but it's worth looking into. 1. Copying the database As explained in detail above, the upgrade process involves making a copy of your production database into a newly created database and then to run the upgrade on this new database. If youre not comfortable with command line statements, you might be able to use a tool like phpMyAdmin to copy all of your tables from the existing database revive_adserver_abc into the new database revive_adserver_xyz. However, it is often faster to use a few command line statements to export the data from the existing database and then to import it into the new database. If you dont know how, ask a colleague, team member, or outside expert for help. Here is a template for the command line statements. To export data from the existing database into a text file:Quotemysqldump -uUSER -pPASSWORD OLDDATABASE skip-lock-tables > FILE.sqlTo import data from this text file into the new database:Quotemysql -uUSER -pPASSWORD NEWDATABASE < FILE.sqlYoull have to replace the USER, PASSWORD, OLDDATABASE and NEWDATABASE placeholders with the actual names and values. Whatever way of copying the data you use, always make sure that youve got a copy of all the tables of your existing database. You can do this by comparing the list of tables of both databases. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.