Refactor backups metadata storage to use an external session.
Use a new backups for each API request (and close when finished).
Switch backups archive storage to gridfs.