Hello, I would like to move (copy and delete) a mapped instance from one database to another database. The table layout is the same on both sides. This is basically for backup purposes, the "other" database is "read only", so I think I don't have to deal with primary key/auto_increment. I have played with session.merge and the advice here (http://stackoverflow.com/questions/21770829/sqlalchemy-copy-schema-and-data-of-subquery-to-another-database) but I can't get it to insert anything. What is a good approach to this? Or maybe its better to dump the data to a file and then re-import into the other database? I am using the current SQLAlchemy with MySQL 5.1.
Regards, Sebastian -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to this group, send email to sqlalchemy@googlegroups.com. Visit this group at https://groups.google.com/group/sqlalchemy. For more options, visit https://groups.google.com/d/optout.