API to create Admin - Export Database for backup - Sonatype Nexus Repository - Sonatype Community

API to create Admin - Export Database for backup

post by sameer29nov on Apr 1, 2025

Hello,

Is there an API or some method available to create an “Admin - Export Database for Backup” and execute it? We want to automate this process but haven’t been able to find any API to accomplish this. We are using Nexus 3.70.0.

Regards,

SAM

post by mpiggott on Apr 7, 2025

There is no general API to create tasks today, however once it is created you should have the option to run it. See the API documentation in the admin section of the Nexus web interface.

post by jboss-04 on Apr 22, 2025

If you run on a database, you can backup the related tables. There are several of them. This way I am doing migration from test server to another test server. Just keep in mind, that Nexus uses a lot of stuff in memory and it may not initiate the task processes unless you restart it.

New & Unread Topics

Topic Replies Views Activity
Sonatype Nexus remote repositories are not working after adding the proxy to connect to internet 2 101 Aug 2025
Error after upgrade to 3.83 NoSuchBeanDefinitionException GroupFacet Qualifier(“groupWriteFacet”) 1 261 Aug 2025
The official Nexus3.80.0 + version claims that there is a built-in task that can implement this function (Migrating User Tokens from LDAP to SAML), but there is no such built-in task in the UI page. What is the reason for this? 4 81 Sep 2025
Missing column in Settings > Repositories 5 108 Oct 2025
Clarification on Request Limits When Upgrading Nexus Repository OSS from v3.37 1 452 Oct 2025

Topic list, column headers with buttons are sortable.