If you're lucky you can desolder the the old battery and use a couple of pin headers to get you back up and running. I do find it irritating some retro machines wont even boot without a working battery.
https://www.sun3arc.org/FAQ/sun-nvram-hostid.faq.phtml
I remember replacing one in the mid 1990s. The machine's ethernet address is stored on this chip, and I believe it's battery-backed RAM (not flash, EEPROM, etc.), so when the battery dies, the data on the chip is lost.
When you install a new chip, you need to program in the ethernet address so the machine can get on the network. The proper thing to do is use the factory-assigned ethernet address to ensure that it is unique. But you can't get the address from the old chip. So, like many people, I just picked some random numbers. It worked.
"No batteries here, officer! Move along."
Once while it was soldered into a mainboard :P
you drill/dremel in two spots, solder tow wires and you are done.
https://www.classic-computers.org.nz/blog/2009-10-10-renovat...
[1]: http://www.mcamafia.de/mcapage0/dsrework.htm