[jira] [Created] (JAMES-4204) Webadmin endpoint for restore mailbox backup

René Cordier (Jira) <[email protected]> Fri, 15 May 2026 05:15:00 +0000 (UTC)
Newsgroups gmane.comp.jakarta.james.devel
Message-ID <[email protected]>
René Cordier created JAMES-4204:
-----------------------------------

             Summary: Webadmin endpoint for restore mailbox backup
                 Key: JAMES-4204
                 URL: https://issues.apache.org/jira/browse/JAMES-4204
             Project: James Server
          Issue Type: New Feature
            Reporter: René Cordier


This endpoint will return a generic task. That task will restore a user account from a backup zip

API definition: 

{code:bash}
POST http://ip:port/users/{usernameToBeUsed}/mailboxes?task=restore
{code}

The restore logic already exists in MailboxBackup cf https://github.com/apache/james-project/tree/master/mailbox/backup/src/main/java/org/apache/james/mailbox/backup



--
This message was sent by Atlassian Jira
(v8.20.10#820010)