@ashishtank - It has been my experience that shutting off the power without shutting down the Pi will corrupt the SD card after about 18 months of daily hard shutoffs. Rebuilding the SD card with a backup config is about a 45 minute process by this point, most of it just waiting for the npm install routine to finish.
I have a lot of Pi laying about due to work, so I usually have 3-6 unconfigured Buster installations on SD cards on my desk. Run the installation script, copy the config.js file from backup, do a whole bunch of git clone commands and I’m off & running again. SD cards are cheap. Easy enough to have a spare card for the mirror ready to go.
(If you were really paranoid, you could have the spare SD card taped to the inside of your mirror. Corrupted card? Shutdown, swap, boot. Rebuild corrupted card during your spare time)