OpenContacts on F-Droid has its own database which can be backed up manually or automatically, and is separate from the main contacts synced through your Google account.
https://gitlab.com/sultanahamer/OpenContacts