I'm doing a database migration from Oracle to PostgreSQL, using the ora2pg tool, and there were some errors with sequences, so I started researching why if all the sequences looked to be the same as they were in Oracle...
Then, I installed a fresh instance of Confluence in PostgreSQL and installed all the Apps to see the name of the AO tables.
I noticed that sequences have different names compared Oracle vs PostgreSQL (Fresh instance):
In Oracle, the sequences for AO Tables (App tables) are ending with number, for example table for "Calendar Teams". In Postgres (Fresh instance), they have the full string name:
Is there a way to reset all the sequences on Confluence?
I already tried this:
1. Backup all the sequences
2. Delete the sequences
3. Delete the plugin folders
4. Restart Confluence
That didn't work, any suggestions?
Do a backup from within Confluence & import the backup on a new server using the new database.
There is no migration path by using any database conversion / migration tools.
Best
JP
Agreed. Your best bet is to use the XML backup from your current instance and import it in to a new instance connected to the Postgres DB.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
XML backup was not an option because the instance is huge, that's why we use the oa2pg alternative.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm afraid you don't have any other way except what wrote @JP _AC Bielefeld Leader_ based on all what you already tried. What you mean as "huge"?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Finally we could figure it out, I will write an article about it and share it here with you soon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Currently I'm facing the same issue. Did you find time to write the article?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@david kreuternot yet, but I can provide the complete solution, just put in contact with us on the page: https://trundl.com/ to discuss about it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Facing this issue now. Can I get a link to the article?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.