there are a lot of threads on this site about batteries. Try searching "battery" and "Battery switch" for more info from old posts.
Look for single motor and dual battery configurations. Ignore all talk of parallel battery banks and 4 batteries.
You have this. The motor Start and House power are both on the COM (common) post.
Whichever battery you choose starts the motor
and runs all 12v lights and electronics and pumps
and charges from the motor.
The other battery does nothing and does not charge.
YOU have to manage your battery charge by alternating between 1 to 2. Don't run on BOTH.
Running on both would SEEM like an answer but it completely defeats the purpose of having a "backup" battery.
When you are on BOTH, the batteries are parallel. You effectively have ONE bigger battery. Thats good for running electronics or starting a motor but you have no "spare"
If you have a bad battery and switch to BOTH you will have TWO bad batteries shortly.
BOTH is for when you tried 1 and could not start and then tried 2 and could not start and then said oh shit cross your fingers maybe both of these bad batteries together will get me started.
This below is better. B1(Start) and B2(House) are separated. There is a Start battery on the 1 pins and a House battery on the 2 pins
The start battery does not run anything. it just starts the motor and charges up for the next time you need to start.The running motor charges the start battery.
The ACR routes the charge to the House battery when needed.
The house battery runs your 12v stuff and does not start the motor. Starting your motor won't dip the House 12v and cause things to blink off.
In this configuration you are USING both batteries but for different purposes. You can even use a deep cycle battery for the house
The diagram shows a Negative Bus. You could substitute a that with the existing negative battery jumper (from -B1 to -B2) that is on your boat now and make other negative connections to either negative battery post.
This diagram shows optional "Start Interrupt" or SI. Its not necessary, so all that key switch connection can be ignored.
https://www.bluesea.com/products/7649/Mini_Add-A-Battery_Kit_-_65A
They have a kit that includes an AC charger
https://www.bluesea.com/products/7655/Mini_Add-A-Battery_Plus_Kit_-_65A_[North_America]
There are other ways to do this but I won't go there now.