Starting with Google Workspace, you will have access to Vault, Google’s archiving and backup-tool. You can define rules to secure your data after deleting files.
Direct backup exports you would have to do with other/external solutions or via something like File Stream on local servers.
To find more information about Google Workspace in general click here.