Rename table on module uninstall

I have a custom module to audit entities changes. Because this data is important to preserve I need to warrant that a backup will be saved if the module is uninstalled. I need to rename the table in a module’s uninstall process to avoid data loss when the module is uninstalled. Do you have any idea or suggestion?