A Microsoft 365 backup solution can automatically create copies of your Exchange Online mailboxes and store them separately from your main Microsoft 365 environment.
Depending on the solution you use, you can restore individual emails, folders or entire mailboxes without affecting the rest of your data.