#GT-914: added logic for many DB support
#GT-914: tested, added ability to pass "default" as db_name to restore default db