Replies: 1 comment 1 reply
-
What you're describing is incredibly challenging to do reliably, because the tables aren't independent — foreign keys need to match up in lots of places. If you wanted to do this, I would target a fresh install rather than your modified one, then only export & import the data you want (fresh copy -> modified copy), using a tool like phpMyAdmin or DataGrip. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been doing some testing going form Vanilla3 to Flarum and the one thing that is a pain is that there is a bunch of modifications I did to the new site but it took me like a month to make all these changes (CSS, Plugins, Mail Configs, Permissions, Groups, Tags) Problem is the database is out of sync and obviously if I run the porter again it does stuff like re-creating groups that I deleted, permissions get destroyed. I was curious if maybe there was a way to add a flag like --incremental and it would only bring user data over, no admin stuff or settings IE it will overwrite the Posts and likes and all the user data this way it will not touch the admin data stuff I have modified.
Next to this i am just documenting all the changes and just playing them back after a transfer
Unless you have a better Idea of how to transfer the data over again after you have customized it so much. Only other thing i was thinking about was backing up these settings databases and then putting them back after a port!
Beta Was this translation helpful? Give feedback.
All reactions