Hi, not sure if this will fit into this channel, sorry if not.
At DIPC we have been working with an old server as our Dataverse installation for the last year. Now we have purchased a new one and I am looking into the best strategy for migrating all the contents from our ancient server to the new one.
I saw that there is a backup script on the dataverse repo but it is quite old.
Thank you!
Hi! Will you be keeping the same version of Dataverse, for now? That will make things easier, I would think. Fewer changes.
Once you installed your new server's operating system, it shouldn't be that hard to migrate the installation. It will require planned downtime though.
Here's some things you'll need to consider (not necessarily complete):
I can only highly recommend to automate such tasks to make it easier in case of necessary recovery.
Probably @Don Sizemore has more thoughts on this.
Also - what Phil said. Don't make a migration and an upgrade at the same time. Avoid too many moving parts at once.
So basically we could say these steps apply?
Basically, yes. You'll also want to copy over logos for collections (dataverses), if you have any of those. The are usually stored in /usr/local/payara6/glassfish/domains/domain1/docroot/logos
That's one of the steps in #12043 which is about upgrading from Payara 6 to 7. (This pull request hasn't been merged yet.) See this file in that pull request: doc/release-notes/12020-Payara-and-Java-updates.md
If I copy the entire /usr/local/payara6/glassfish/ between installations, will payara still work?
I'm not sure, but it's probably worth a shot!
Carlos Perez-Miguel said:
If I copy the entire
/usr/local/payara6/glassfish/between installations, will payara still work?
You can probably do that, yes, but on a new system I'd exclude /usr/local/payara6/glassfish/domains/domain1/generated/ /usr/local/payara6/glassfish/domains/domain1/osgi-cache/ and possibly lib/databases/ejb/
Last updated: Apr 03 2026 at 06:08 UTC