I am crossed that ebookworm

point of no return as my library has crossed 10K items.
Now I live in fear of loosing it all !!
ok too much drama. no more coffee for today.
Seriously thought, can/does calibre create backups of the metadata.db ? I do have a network backup but I dont sync it often enough. and a corrupt metadata.db would kill me.
ebooks are easy to reacquire but the metadata not so much. I want to backup the metadata, say, every week and keep old copies for a long duration. like 6 months or so.
This also would give me a way to 'view' a previous state or undo to a certain point. For e.g. if at some point I want to radically change my library or experiment with the metadata etc and still be able to fallback.
What do u guys do? enlighten me folks.